Specific callback information
typedef struct Pt_callback_info { unsigned long reason; unsigned long reason_subtype; PhEvent_t *event; void *cbdata; } PtCallbackInfo_t;
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.
The structure contains at least the following members:
For more information about these fields, see the descriptions of callbacks for each widget.
Photon
PtBalloonCallback_t, PtCallback_t, PtHotkeyCallback_t, PtRawCallback_t