LMMS
Loading...
Searching...
No Matches
PuglClientEvent Struct Reference

#include <pugl.h>

Public Attributes

PuglEventType type
 PUGL_CLIENT
PuglEventFlags flags
 Bitwise OR of PuglEventFlag values.
uintptr_t data1
 Client-specific data.
uintptr_t data2
 Client-specific data.

Detailed Description

Custom client message event.

This can be used to send a custom message to a view, which is delivered via the window system and processed in the event loop as usual. Among other things, this makes it possible to wake up the event loop for any reason.

Member Data Documentation

◆ data1

uintptr_t PuglClientEvent::data1

Client-specific data.

◆ data2

uintptr_t PuglClientEvent::data2

Client-specific data.

◆ flags

PuglEventFlags PuglClientEvent::flags

Bitwise OR of PuglEventFlag values.

◆ type

PuglEventType PuglClientEvent::type

The documentation for this struct was generated from the following file: