From 4c07a013d0943985f156101f1123c518da5fc590 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 4 Aug 2019 20:44:54 +0200 Subject: Add puglSetWindowTitle() --- pugl/pugl.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'pugl/pugl.h') diff --git a/pugl/pugl.h b/pugl/pugl.h index e8de39b..1488b61 100644 --- a/pugl/pugl.h +++ b/pugl/pugl.h @@ -528,6 +528,16 @@ puglFreeView(PuglView* view); 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. -- cgit v1.2.1