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