[Previous] [Contents] [Index] [Next]

PtInvokeCallbackList()

Invoke a callback list

Synopsis:

int PtInvokeCallbackList( PtCallbackList_t *cb_list,
                          PtWidget_t *widget, 
                          PtCallbackInfo_t *cbinfo );

Description:

This function invokes the provided callback list cb_list.

The widget argument is passed as the first parameter to each callback in the list. The cb_data member of each item in the list is passed as the second parameter. The cbinfo argument is passed to each callback in the list as the third parameter.

Returns:

A return status from the callback list:

If the returned status is Pt_END, have your function consume the event (i.e. return Pt_END).

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

[Previous] [Contents] [Index] [Next]