Photon microGUI widgets library 0.6.0
PtCallbackInfo_t Struct Reference

#include <PhWidgetsNativeTypes.h>

Detailed Description

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:

Members

‍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.

Remarks
For more information see events of PhWidgets.
See also

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