diff options
author | David Robillard <d@drobilla.net> | 2021-12-16 20:15:12 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-12-16 20:15:12 -0500 |
commit | b82d8a87da515ae71114d1ff44780060f0a1292e (patch) | |
tree | f170dc8bf96e662dbea1278a650d254e37424430 /include | |
parent | 7570f3d40a258511fe25f4c239d2f746c97340e0 (diff) | |
download | pugl-b82d8a87da515ae71114d1ff44780060f0a1292e.tar.gz pugl-b82d8a87da515ae71114d1ff44780060f0a1292e.tar.bz2 pugl-b82d8a87da515ae71114d1ff44780060f0a1292e.zip |
Add puglGetTransientParent()
Diffstat (limited to 'include')
-rw-r--r-- | include/pugl/pugl.h | 10 |
1 files changed, 10 insertions, 0 deletions
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 @@ -1027,6 +1027,16 @@ 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. After this call, the (initially invisible) underlying system view exists and |