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/ptappremovehotkeyhandler.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/ptappremovehotkeyhandler.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/ptappremovehotkeyhandler.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/ptappremovehotkeyhandler.html on line 8
Remove a hotkey handler from an application's hotkey callback
list
void PtAppRemoveHotkeyHandler(
unsigned key_sym_cap,
unsigned key_mods,
short flags,
void *data,
int (*event_f)(void *,PtCallbackInfo_t *));
- key_sym_cap
- The key_sym_cap for the handler you want to remove.
- key_mods
- The key_mods for the handler you want to remove.
- flags
- The flags for the handler you want to remove.
- data
- A pointer to data for the callback you want to remove.
- event_f
- A pointer to the callback you want to remove.
ph
This function removes the first hotkey handler that matches key_sym_cap,
key_mods, flags, data, and event_f from
the application's
Pt_CB_HOTKEY callback list.
Note the following:
- Key caps, key mods, and key syms are defined in <photon/PkKeydef.h>.
- Key mods are prefixed with Pk_KM_.
- Key caps and key syms are prefixed with only Pk_.
For more information, see the
Manipulating Resources
in Application Code chapter of the Photon Programmer's Guide.
Photon
Safety: | |
Interrupt handler |
No |
Signal handler |
No |
Thread |
No |
PtAppAddHotkeyHandler(),
PtAppGetResources(),
PtAppGetResource(),
PtAppRemoveCallback(),
PtAppRemoveEventHandler(),
PtAppRemoveFilterCallback(),
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/ptappremovehotkeyhandler.html on line 125
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/ptappremovehotkeyhandler.html on line 125