aboutsummaryrefslogtreecommitdiffstats
path: root/include/pugl
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-12-16 20:19:13 -0500
committerDavid Robillard <d@drobilla.net>2021-12-16 20:19:13 -0500
commitd54309d0716173c1fe3f5c7e9812e42722f79bc9 (patch)
tree850d42588834bd6f4b130eacf03cb2f5eec2ad30 /include/pugl
parente1818b1261cb9632393a6bf092dfcd0ba51e2908 (diff)
downloadpugl-d54309d0716173c1fe3f5c7e9812e42722f79bc9.tar.gz
pugl-d54309d0716173c1fe3f5c7e9812e42722f79bc9.tar.bz2
pugl-d54309d0716173c1fe3f5c7e9812e42722f79bc9.zip
Add puglGetWindowTitle()
Diffstat (limited to 'include/pugl')
-rw-r--r--include/pugl/pugl.h5
1 files changed, 5 insertions, 0 deletions
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.