Remove an event handler from an application's event callback list
void PtAppRemoveEventHandler( unsigned long event_mask, int (*func)(void *,PtCallbackInfo_t *), void *data);
- The event type for the handler you want to remove.
- A pointer to the callback you want to remove.
- A pointer to data for the callback you want to remove.
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.
“Event handlers” in the Managing Widgets in Application Code chapter of the Photon Programmer's Guide