PtInvokeCallbackList
![]() |
![]() |
![]() |
![]() |
PtInvokeCallbackList()
Invoke a callback list
Synopsis:
int PtInvokeCallbackList( PtCallbackList_t *cb_list,
PtWidget_t *widget,
PtCallbackInfo_t *cbinfo );
Arguments:
- cb_list
- The list of callbacks to invoke.
- widget
- The widget pointer to pass to the callbacks as the first argument.
- cbinfo
- A pointer to a PtCallbackInfo_t structure (see the Photon Widget Reference) that's passed to each callback in the list as the third argument.
Description:
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.
Returns:
A return status from the callback list:
- Pt_CONTINUE
- Pt_HALT
- Pt_END
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 |
See also:
PtGetCallbackList() and PtInvokeCallbackType()
PtCallbackInfo_t in the Photon Widget Reference
![]() |
![]() |
![]() |
![]() |
![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)