diff options
author | David Robillard <d@drobilla.net> | 2019-08-04 20:44:54 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-09-03 08:34:39 +0200 |
commit | 4c07a013d0943985f156101f1123c518da5fc590 (patch) | |
tree | 5e0a767e70b9921f713ce2142c4cdd3a1dd9a693 /pugl/pugl.h | |
parent | 89af2b1e3910196c4cad47c3748c1a2920b3faf9 (diff) | |
download | pugl-4c07a013d0943985f156101f1123c518da5fc590.tar.gz pugl-4c07a013d0943985f156101f1123c518da5fc590.tar.bz2 pugl-4c07a013d0943985f156101f1123c518da5fc590.zip |
Add puglSetWindowTitle()
Diffstat (limited to 'pugl/pugl.h')
-rw-r--r-- | pugl/pugl.h | 10 |
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(). |