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 cb_data member of each item in the callback list is passed as the second argument to the associated callback.
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 |
PtGetCallbackList() and PtInvokeCallbackType()
PtCallbackInfo_t in the Photon Widget Reference