aboutsummaryrefslogtreecommitdiffstats
path: root/src
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 /src
parente1818b1261cb9632393a6bf092dfcd0ba51e2908 (diff)
downloadpugl-d54309d0716173c1fe3f5c7e9812e42722f79bc9.tar.gz
pugl-d54309d0716173c1fe3f5c7e9812e42722f79bc9.tar.bz2
pugl-d54309d0716173c1fe3f5c7e9812e42722f79bc9.zip
Add puglGetWindowTitle()
Diffstat (limited to 'src')
-rw-r--r--src/implementation.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/implementation.c b/src/implementation.c
index f7b15ff..df30730 100644
--- a/src/implementation.c
+++ b/src/implementation.c
@@ -227,6 +227,12 @@ puglGetViewHint(const PuglView* view, PuglViewHint hint)
return (hint < PUGL_NUM_VIEW_HINTS) ? view->hints[hint] : PUGL_DONT_CARE;
}
+const char*
+puglGetWindowTitle(const PuglView* const view)
+{
+ return view->title;
+}
+
PuglStatus
puglSetParentWindow(PuglView* view, PuglNativeView parent)
{