Photon microGUI widgets library 0.6.0
PtRawCallback_t Struct Reference

#include <PhWidgetsNativeTypes.h>

Detailed Description

Event handler structure.

The PtRawCallback_t structure lets you specify event handlers (raw and filter callbacks) for your application's widgets. This structure contains at least:

Members

‍event_mask A bitmap that specifies which events trigger the function specified in event_f. See PhEvent_t.

‍int (*event_f)( PtWidget_t *, void *, PtCallbackInfo_t * ) A pointer to the callback function.

‍void *data A pointer to data that you want to pass as the second parameter to the callback function when it's invoked.

See also

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