aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl.h
diff options
context:
space:
mode:
Diffstat (limited to 'pugl/pugl.h')
-rw-r--r--pugl/pugl.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/pugl/pugl.h b/pugl/pugl.h
index 70d6f42..1344410 100644
--- a/pugl/pugl.h
+++ b/pugl/pugl.h
@@ -442,6 +442,16 @@ PUGL_API void
puglFreeWorld(PuglWorld* world);
/**
+ Return a pointer to the native handle of the world.
+
+ On X11, this returns a pointer to the Display.
+ On OSX, this returns NULL.
+ On Windows, this returns a handle to the calling process module.
+*/
+PUGL_API void*
+puglGetNativeWorld(PuglWorld* world);
+
+/**
Set the class name of the application.
This is a stable identifier for the application, used as the window