From d54309d0716173c1fe3f5c7e9812e42722f79bc9 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 16 Dec 2021 20:19:13 -0500 Subject: Add puglGetWindowTitle() --- include/pugl/pugl.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') diff --git a/include/pugl/pugl.h b/include/pugl/pugl.h index 9e2181a..c2dcd55 100644 --- a/include/pugl/pugl.h +++ b/include/pugl/pugl.h @@ -1003,6 +1003,11 @@ PUGL_API PuglStatus puglSetWindowTitle(PuglView* view, const char* title); +/// Return the title of the window, or null +PUGL_API +const char* +puglGetWindowTitle(const PuglView* view); + /** Set the parent window for embedding a view in an existing window. -- cgit v1.2.1