Invoke a callback list of a specific type
int PtInvokeCallbackType( PtWidget_t *widget, long type, PtCallbackInfo_t *cbinfo );
This function invokes a callback list of type for a widget. It's a convenience function that you can use instead of PtGetCallbackList() and PtInvokeCallbackList().
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 PtInvokeCallbackList()
PtCallbackInfo_t in the Photon Widget Reference