Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
PtRemoveCallback()
Remove a single callback entry from a callback list
Synopsis:
void PtRemoveCallback( PtWidget_t *widget,
unsigned long callback_type,
PtCallbackF_t *callback,
void *data );
Library:
ph
Description:
This function removes the first callback entry that matches callback and data. It removes the entry from the callback_type callback list that belongs to widget.
![]() |
Some types of callback resources have special routines that you should use instead of this one: |
The callback argument points to a function that takes this form:
int (*callback)( PtWidget_t *, void *,
PtCallbackInfo_t *)
Examples:
See PtAddCallback().
Classification:
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
See also:
PtAddCallback(), PtAddCallbacks(), PtRemoveCallbacks(), PtRemoveEventHandler(), PtRemoveEventHandlers(), PtRemoveFilterCallback(), PtRemoveFilterCallbacks(), PtRemoveHotkeyHandler()
PtCallbackInfo_t in the Photon Widget Reference
"Callbacks" in the Managing Widgets in Application Code chapter of the Photon Programmer's Guide
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)
