Photon microGUI widgets library 0.6.0
|
#include <PhWidgetsNativeTypes.h>
Specific callback information.
The PtCallbackInfo_t structure is the third argument passed to all callback functions. You can use this structure to determine why callbacks occurred and to get the specific callback information. This structure contains at least:
unsigned long reason The reason why this callback was invoked.
unsigned long reason_subtype If there are different ways to invoke the callback, this member indicates which one.
PhEvent_t *event A pointer to a PhEvent_t structure that describes the event that caused this callback to be invoked.
void *cbdata A pointer to callback-specific data.