add_hotkey
summary: assign a shortcut to a custom function
- description:
ida_kernwin.add_hotkey is a simpler, but much less flexible alternative to ida_kernwin.register_action (though it does use the same mechanism under the hood.)
It’s particularly useful during prototyping, but note that the actions that are created cannot be inserted in menus, toolbars or cannot provide a custom ida_kernwin.action_handler_t.update callback.
keywords: actions
see_also: actions
level: beginner
Attributes
Functions
Module Contents
- add_hotkey.hotkey_pressed()
- add_hotkey.hotkey_ctx