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/ptremoveeventhandler.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/ptremoveeventhandler.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/ptremoveeventhandler.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/ptremoveeventhandler.html on line 8

PtRemoveEventHandler()

Remove a single Pt_CB_RAW entry from a widget

Synopsis:

void PtRemoveEventHandler( 
        PtWidget_t *widget,
        unsigned long event_mask,
        PtCallbackF_t *callback,
        void *data );

Library:

ph

Description:

This function removes the first callback entry that matches event_mask, callback, and data. It removes the entry from the Pt_CB_RAW callback list that belongs to widget

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

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

Examples:

See PtAddEventHandler().

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtAddEventHandler(), PtAddEventHandlers(), PtRemoveCallback(), PtRemoveCallbacks(), PtRemoveEventHandlers() PtRemoveFilterCallback(), PtRemoveFilterCallbacks(), PtRemoveHotkeyHandler(),

PtCallbackInfo_t in the Photon Widget Reference

Event handlers 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/ptremoveeventhandler.html on line 119

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/ptremoveeventhandler.html on line 119