![]()  | 
![]()  | 
![]()  | 
![]()  | 
Remove several callback entries from a callback list
void PtRemoveCallbacks( 
        PtWidget_t *widget,
        unsigned long callback_type,
        PtCallback_t const *callback_defs,
        unsigned int num_callbacks );
ph
This function removes the first callback entries that exactly match an entry in the callback_defs array. It removes these entries from the callback_type callback list that belongs to widget. The num_callbacks argument specifies the length of the array.
![]()  | 
Some types of callback resources have special routines that you should use instead of this one: | 
Photon
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
PtAddCallback(), PtAddCallbacks(), PtRemoveCallback(), PtRemoveEventHandler(), PtRemoveEventHandlers(), PtRemoveFilterCallback(), PtRemoveFilterCallbacks(), PtRemoveHotkeyHandler()
PtCallback_t in the Photon Widget Reference
“Callbacks” in the Managing Widgets in Application Code chapter of the Photon Programmer's Guide
![]()  | 
![]()  | 
![]()  | 
![]()  |