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 );
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: |
See PtAddCallback().
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
PtAddCallback(), PtAddCallbacks(), PtRemoveCallback(), PtRemoveEventHandler(), PtRemoveEventHandlers(), PtRemoveHotkeyHandler()
Creating Widgets in Application Code chapter of the Photon Programmer's Guide