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

PtAppRemoveEventHandler()

Remove an event handler from an application's event callback list

Synopsis:

void PtAppRemoveEventHandler( 
        unsigned long event_mask, 
        int (*func)(void *,PtCallbackInfo_t *), 
        void *data);

Arguments:

event_mask
The event type for the handler you want to remove.
func
A pointer to the callback you want to remove.
data
A pointer to data for the callback you want to remove.

Library:

ph

Description:

This function removes the first event handler that matches event_mask, func, and data from the application's Pt_CB_RAW callback list.

For more information, see the Manipulating Resources in Application Code chapter of the Photon Programmer's Guide.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtAppAddEventHandler(), PtAppGetResources(), PtAppGetResource(), PtAppRemoveCallback(), PtAppRemoveFilterCallback(), PtAppRemoveHotkeyHandler(), PtAppSetResource(), PtAppSetResources(), PtSetArg().

“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/ptappremoveeventhandler.html on line 112

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/ptappremoveeventhandler.html on line 112