[Previous] [Contents] [Index] [Next]

PtRemoveCallbacks()

Remove several callback entries from a callback list

Synopsis:

void PtRemoveCallbacks( 
        PtWidget_t *widget,
        unsigned long callback_type,
        PtCallback_t const *callback_defs,
        unsigned int num_callbacks );

Description:

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.


Note: Some types of callback resources have special routines that you should use instead of this one:
Pt_CB_HOTKEY
PtRemoveHotkeyHandler()
Pt_CB_RAW
PtRemoveEventHandler() or PtRemoveEventHandlers()

Examples:

See PtAddCallback().

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtAddCallback(), PtAddCallbacks(), PtRemoveCallback(), PtRemoveEventHandler(), PtRemoveEventHandlers(), PtRemoveHotkeyHandler()

Creating Widgets in Application Code chapter of the Photon Programmer's Guide


[Previous] [Contents] [Index] [Next]