Invoke a callback list
int PtInvokeCallbackList( PtCallbackList_t *cb_list, PtWidget_t *widget, PtCallbackInfo_t *cbinfo );
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.
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).
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |