summaryrefslogtreecommitdiff
path: root/pugl/pugl.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2014-11-01 00:48:15 +0100
committerDavid Robillard <d@drobilla.net>2014-12-16 18:31:22 -0500
commit3d27fe91f5c25405df0d332f17a7c6fc97d7da27 (patch)
tree6cc51b46304e526fc86f4082eb387e003e3ca059 /pugl/pugl.h
parent715d42eeb66c771628c21a60fbcf3893e1896101 (diff)
Add support for transient child windows.
No Windows support currently. Conflicts: pugl/pugl.h pugl/pugl_osx.m pugl/pugl_win.cpp pugl/pugl_x11.c
Diffstat (limited to 'pugl/pugl.h')
-rw-r--r--pugl/pugl.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/pugl/pugl.h b/pugl/pugl.h
index 54b4c78..53115ff 100644
--- a/pugl/pugl.h
+++ b/pugl/pugl.h
@@ -177,6 +177,15 @@ PUGL_API void
puglInitResizable(PuglView* view, bool resizable);
/**
+ Set transient parent before creating a window.
+
+ On X11, parent_id must be a Window.
+ On OSX, parent_id must be an NSView*.
+*/
+PUGL_API void
+puglInitTransientFor(PuglView* view, uintptr_t parent);
+
+/**
Set the context type before creating a window.
*/
PUGL_API void