| ![[Previous]](../image-lib/prev.gif) | ![[Contents]](../image-lib/contents.gif) | ![[Index]](../image-lib/keyword_index.gif) | ![[Next]](../image-lib/next.gif) | 
Remove a single hotkey handler entry from a widget
void PtRemoveHotkeyHandler( 
         PtWidget_t *widget,
         unsigned key_sym_cap,
         unsigned key_mods,
         short flags,
         void *data,
         PtCallbackF_t *callback );
This function removes the specified callback if the callback matches key_sym_cap, key_mods, flags, data, and callback. The function removes the callback from the Pt_CB_HOTKEY 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 PtAddHotkeyHandler().
Photon
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
PtAddHotkeyHandler(), PtRemoveCallback(), PtRemoveCallbacks(), PtRemoveEventHandler(), PtRemoveEventHandlers(), PtRemoveHotkeyHandler()
"Hotkey callbacks" in the Editing Resources and Callbacks in PhAB chapter of the Photon Programmer's Guide.
| ![[Previous]](../image-lib/prev.gif) | ![[Contents]](../image-lib/contents.gif) | ![[Index]](../image-lib/keyword_index.gif) | ![[Next]](../image-lib/next.gif) |