Custom Events¶
-
struct PuglClientEvent¶
Custom client message event.
This is a custom event sent to a view with
puglSendEvent(), which wakes up the event loop and delivers two pointer-sized data fields. These client-specific fields are opaque to Pugl and aren’t interpreted in any way.-
PuglEventFlags flags¶
Bitwise OR of
PuglEventFlagvalues.
-
uintptr_t data1¶
Client-specific data.
-
uintptr_t data2¶
Client-specific data.
-
PuglEventFlags flags¶
-
struct PuglTimerEvent¶
Timer event.
This is sent while the timer with the given
idis activated at the regular interval specified in the correspondingpuglStartTimer()call. Other platform-specific timers may exist, so applications must always check theidfield before reacting to a timer event.-
PuglEventFlags flags¶
Bitwise OR of
PuglEventFlagvalues.
-
uintptr_t id¶
Timer ID.
-
PuglEventFlags flags¶