aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-04-06 15:50:30 +0200
committerDavid Robillard <d@drobilla.net>2020-04-06 16:52:08 +0200
commit53d8fe0c19408a54165f6422319be8139758a5b2 (patch)
tree073eedb86a7b1bdbacfce9fd4ebed335781882ab /pugl/pugl.h
parent20fd80c8f20d0d6bda660bd9a273e0c4a78cb9ac (diff)
downloadpugl-53d8fe0c19408a54165f6422319be8139758a5b2.tar.gz
pugl-53d8fe0c19408a54165f6422319be8139758a5b2.tar.bz2
pugl-53d8fe0c19408a54165f6422319be8139758a5b2.zip
Implement puglSetTransientFor() for Mac and Windows
Diffstat (limited to 'pugl/pugl.h')
-rw-r--r--pugl/pugl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/pugl/pugl.h b/pugl/pugl.h
index fbdf5db..84bfa98 100644
--- a/pugl/pugl.h
+++ b/pugl/pugl.h
@@ -1001,6 +1001,9 @@ puglSetParentWindow(PuglView* view, PuglNativeView parent);
Set this for transient children like dialogs, to have them properly
associated with their parent window. This should be called before
puglRealize().
+
+ A view can either have a parent (for embedding) or a transient parent (for
+ top-level windows like dialogs), but not both.
*/
PUGL_API PuglStatus
puglSetTransientFor(PuglView* view, PuglNativeView parent);