Native Types¶
Types that reflect native types for the underlying platform.
-
typedef uintptr_t PuglNativeView¶
A native view handle.
A “native view” is a system-specific handle for a view (or “window”). A
PuglViewis itself a native view, which may be embedded in another. Like the native world handle, this serves as a common denominator between this and other APIs.MacOS: This is a pointer to an
NSView*.Windows: This is a
HWND.X11: This is a
Window.
-
typedef void *PuglNativeWorld¶
A native world handle.
The “native world” is a system-specific handle that’s shared across an entire program or module. It serves as a common denominator between Pugl, applications, and the windowing system API.
MacOS: This is a pointer to the
NSApplication.Windows: This is the
HMODULEof the calling process.X11: This is a pointer to the
Display.