| ![[Previous]](../image-lib/prev.gif) | ![[Contents]](../image-lib/contents.gif) | ![[Index]](../image-lib/keyword_index.gif) | ![[Next]](../image-lib/next.gif) | 
Remove a single callback entry from a callback list
void PtRemoveCallback( PtWidget_t *widget,
                       unsigned long callback_type,
                       PtCallbackF_t *callback,
                       void *data );
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(), PtRemoveHotkeyHandler()
Creating Widgets in Application Code chapter of the Photon Programmer's Guide
| ![[Previous]](../image-lib/prev.gif) | ![[Contents]](../image-lib/contents.gif) | ![[Index]](../image-lib/keyword_index.gif) | ![[Next]](../image-lib/next.gif) |