[Previous]
[Bookset]
[Next]

PtCallback_t

Regular callback structure

Synopsis:

typedef struct Pt_callback {
    int (*event_f)( PtWidget_t *, void *, 
                    PtCallbackInfo_t * );
    void *data;
    } PtCallback_t;

Description:

The PtCallback_t structure lets you specify callbacks for various widgets. It contains at least the following members:

event_f
Pointer to the callback function.
data
Data that's passed as the second parameter to the callback function when that function is invoked.

Classification:

Photon

See also:

PtBalloonCallback_t, PtCallbackInfo_t, PtHotkeyCallback_t, PtRawCallback_t


[Previous]
[Bookset]
[Next]