From d54309d0716173c1fe3f5c7e9812e42722f79bc9 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 16 Dec 2021 20:19:13 -0500 Subject: Add puglGetWindowTitle() --- src/implementation.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') 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) { -- cgit v1.2.1