| ![[Previous]](../image-lib/prev.gif) | ![[Contents]](../image-lib/contents.gif) | ![[Index]](../image-lib/keyword_index.gif) | ![[Next]](../image-lib/next.gif) | 
Remove a single event-handler entry from a widget
void PtRemoveEventHandler( 
        PtWidget_t *widget,
        unsigned long event_mask,
        PtCallbackF_t *callback,
        void *data );
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 *)
See PtAddEventHandler().
Photon
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
PtAddEventHandler(), PtRemoveCallback(), PtRemoveCallbacks(), PtRemoveEventHandlers(), PtRemoveHotkeyHandler()
| ![[Previous]](../image-lib/prev.gif) | ![[Contents]](../image-lib/contents.gif) | ![[Index]](../image-lib/keyword_index.gif) | ![[Next]](../image-lib/next.gif) |