Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pt/ptremovecallback.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pt/ptremovecallback.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pt/ptremovecallback.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pt/ptremovecallback.html on line 8

PtRemoveCallback()

Remove a single callback entry from a callback list

Synopsis:

void PtRemoveCallback( PtWidget_t *widget,
                       unsigned long callback_type,
                       PtCallbackF_t *callback,
                       void *data );

Library:

ph

Description:

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.


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

The callback argument points to a function that takes this form:

int (*callback)( PtWidget_t *, void *, 
               PtCallbackInfo_t *)

Examples:

See PtAddCallback().

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

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


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pt/ptremovecallback.html on line 147

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pt/ptremovecallback.html on line 147