|
IDA C++ SDK 9.2
|
Maintain information about the current state of the UI. More...
#include <kernwin.hpp>
Public Member Functions | |
| action_ctx_base_t () | |
| Constructor. | |
| void | reset () |
| Invalidate all context info. | |
| bool | has_flag (uint32 flag) const |
| Check if the given flag is set. | |
Public Attributes | |
| TWidget * | widget |
| twidget_type_t | widget_type |
| type of current widget | |
| qstring | widget_title |
| title of current widget | |
| chooser_base_t * | chooser |
| the underlying chooser_base_t (if 'widget' is a chooser widget) | |
| sizevec_t | chooser_selection |
| current chooser selection (0-based) | |
| const char * | action |
| action name | |
| uint32 | cur_flags |
| Current address information. see Action context property bits. | |
| ea_t | cur_ea |
| the current EA of the position in the view | |
| uval_t | cur_value |
| the possible address, or value the cursor is positioned on | |
| func_t * | cur_func |
| the current function | |
| func_t * | cur_fchunk |
| the current function chunk | |
| segment_t * | cur_seg |
| the current segment | |
| action_ctx_base_cur_sel_t | cur_sel |
| the currently selected range. also see #ACF_HAS_SELECTION | |
| const char * | regname |
| register name (if widget_type == BWN_CPUREGS and context menu opened on register) | |
| TWidget * | focus |
| The focused widget in case it is not the 'form' itself (e.g., the 'quick filter' input in choosers.) | |
| interactive_graph_t * | graph |
| the current graph (if in a graph view) | |
| screen_graph_selection_t * | graph_selection |
| the current graph selection (if in a graph view) | |
| const selection_item_t * | hovered |
| the current item being hovered (if in a graph view) | |
| dirtree_selection_t * | dirtree_selection |
| the current dirtree_t selection (if applicable) | |
| til_type_ref_t * | type_ref |
| a reference to the current type (if 'widget' is a type listing widget; nullptr otherwise) | |
Maintain information about the current state of the UI.
This allows actions to behave appropriately (see action_handler_t)
|
inline |
Constructor.
|
inline |
Invalidate all context info.
| TWidget* action_ctx_base_t::widget |
| twidget_type_t action_ctx_base_t::widget_type |
type of current widget
| qstring action_ctx_base_t::widget_title |
title of current widget
| chooser_base_t* action_ctx_base_t::chooser |
the underlying chooser_base_t (if 'widget' is a chooser widget)
| sizevec_t action_ctx_base_t::chooser_selection |
current chooser selection (0-based)
| const char* action_ctx_base_t::action |
action name
| uint32 action_ctx_base_t::cur_flags |
Current address information. see Action context property bits.
| ea_t action_ctx_base_t::cur_ea |
the current EA of the position in the view
| uval_t action_ctx_base_t::cur_value |
the possible address, or value the cursor is positioned on
| func_t* action_ctx_base_t::cur_func |
the current function
| func_t* action_ctx_base_t::cur_fchunk |
the current function chunk
| segment_t* action_ctx_base_t::cur_seg |
the current segment
| action_ctx_base_cur_sel_t action_ctx_base_t::cur_sel |
the currently selected range. also see #ACF_HAS_SELECTION
| const char* action_ctx_base_t::regname |
register name (if widget_type == BWN_CPUREGS and context menu opened on register)
| TWidget* action_ctx_base_t::focus |
The focused widget in case it is not the 'form' itself (e.g., the 'quick filter' input in choosers.)
| interactive_graph_t* action_ctx_base_t::graph |
the current graph (if in a graph view)
| screen_graph_selection_t* action_ctx_base_t::graph_selection |
the current graph selection (if in a graph view)
| const selection_item_t* action_ctx_base_t::hovered |
the current item being hovered (if in a graph view)
| dirtree_selection_t* action_ctx_base_t::dirtree_selection |
the current dirtree_t selection (if applicable)
| til_type_ref_t* action_ctx_base_t::type_ref |
a reference to the current type (if 'widget' is a type listing widget; nullptr otherwise)