aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl.h
diff options
context:
space:
mode:
Diffstat (limited to 'pugl/pugl.h')
-rw-r--r--pugl/pugl.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/pugl/pugl.h b/pugl/pugl.h
index e8de39b..1488b61 100644
--- a/pugl/pugl.h
+++ b/pugl/pugl.h
@@ -529,6 +529,16 @@ PUGL_API PuglWorld*
puglGetWorld(PuglView* view);
/**
+ Set the title of the window.
+
+ This only makes sense for non-embedded views that will have a corresponding
+ top-level window, and sets the title, typically displayed in the title bar
+ or in window switchers.
+*/
+PUGL_API PuglStatus
+puglSetWindowTitle(PuglView* view, const char* title);
+
+/**
Set a hint to configure window properties.
This only has an effect when called before puglCreateWindow().