![]()  | 
![]()  | 
![]()  | 
![]()  | 
Remove a single callback entry from a callback list
void PtRemoveCallback( PtWidget_t *widget,
                       unsigned long callback_type,
                       PtCallbackF_t *callback,
                       void *data );
ph
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 *)
See PtAddCallback().
Photon
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
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
![]()  | 
![]()  | 
![]()  | 
![]()  |