From e1818b1261cb9632393a6bf092dfcd0ba51e2908 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 16 Dec 2021 20:17:38 -0500 Subject: Add puglGetParentWindow() --- 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 9e65aad..9e2181a 100644 --- a/include/pugl/pugl.h +++ b/include/pugl/pugl.h @@ -1012,6 +1012,11 @@ PUGL_API PuglStatus puglSetParentWindow(PuglView* view, PuglNativeView parent); +/// Return the parent window this view is embedded in, or null +PUGL_API +PuglNativeView +puglGetParentWindow(const PuglView* view); + /** Set the transient parent of the window. -- cgit v1.2.1