From b82d8a87da515ae71114d1ff44780060f0a1292e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 16 Dec 2021 20:15:12 -0500 Subject: Add puglGetTransientParent() --- include/pugl/pugl.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'include/pugl') diff --git a/include/pugl/pugl.h b/include/pugl/pugl.h index 96826a1..9e65aad 100644 --- a/include/pugl/pugl.h +++ b/include/pugl/pugl.h @@ -1026,6 +1026,16 @@ PUGL_API PuglStatus puglSetTransientParent(PuglView* view, PuglNativeView parent); +/** + Return the transient parent of the window. + + @return The native handle to the window this view is a transient child of, + or null. +*/ +PUGL_API +PuglNativeView +puglGetTransientParent(const PuglView* view); + /** Realize a view by creating a corresponding system view or window. -- cgit v1.2.1