aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-12-16 20:17:38 -0500
committerDavid Robillard <d@drobilla.net>2021-12-16 20:17:38 -0500
commite1818b1261cb9632393a6bf092dfcd0ba51e2908 (patch)
tree60aceb9ed45dc528c027efe7dfca9e71d1c7a5da /include
parentb82d8a87da515ae71114d1ff44780060f0a1292e (diff)
downloadpugl-e1818b1261cb9632393a6bf092dfcd0ba51e2908.tar.gz
pugl-e1818b1261cb9632393a6bf092dfcd0ba51e2908.tar.bz2
pugl-e1818b1261cb9632393a6bf092dfcd0ba51e2908.zip
Add puglGetParentWindow()
Diffstat (limited to 'include')
-rw-r--r--include/pugl/pugl.h5
1 files changed, 5 insertions, 0 deletions
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.