|
IDA SDK
|
Describe an action to be registered (see register_action())
Public Attributes | |
| int | cb |
| size of this structure | |
| const char * | name |
| the internal name of the action; must be unique. More... | |
| const char * | label |
| the label of the action, possibly with an accelerator key definition (e.g., "~J~ump to operand") | |
| action_handler_t * | handler |
| the action handler, for activating/updating. More... | |
| const void * | owner |
| either the plugin_t, or plugmod_t responsible for registering the action. More... | |
| const char * | shortcut |
| an optional shortcut definition. E.g., "Ctrl+Enter" | |
| const char * | tooltip |
| an optional tooltip for the action | |
| int | icon |
| an optional icon ID to use | |
| int | flags |
| See Action flags. | |
| const char* action_desc_t::name |
the internal name of the action; must be unique.
a way to reduce possible conflicts is to prefix it with some specific prefix. E.g., "myplugin:doSthg".
| action_handler_t* action_desc_t::handler |
the action handler, for activating/updating.
please read the comments at register_action().
| const void* action_desc_t::owner |
either the plugin_t, or plugmod_t responsible for registering the action.
Can be nullptr Please see ACTION_DESC_LITERAL_PLUGMOD