![]() |
![]() |
![]() |
Regular callback structure
typedef struct Pt_callback { int (*event_f)( PtWidget_t *, void *, PtCallbackInfo_t * ); void *data; } PtCallback_t;
The PtCallback_t structure lets you specify callbacks for various widgets. It contains at least the following members:
Photon
PtBalloonCallback_t, PtCallbackInfo_t, PtHotkeyCallback_t, PtRawCallback_t
![]() |
![]() |
![]() |