IDAPython 9.0
Loading...
Searching...
No Matches
simplecustviewer_t.UI_Hooks_Trampoline Class Reference
Inheritance diagram for simplecustviewer_t.UI_Hooks_Trampoline:
UI_Hooks

Public Member Functions

 __init__ (self, v)
 init(self, _flags=0, _hkcb_flags=0x0001) -> UI_Hooks
 
 populating_widget_popup (self, form, popup_handle)
 populating_widget_popup(self, widget, popup_handle, ctx=None) IDA is populating the context menu for a widget.
 
- Public Member Functions inherited from UI_Hooks
"bool" hook (self)
 hook(self) -> bool
 
"bool" unhook (self)
 unhook(self) -> bool
 
"void" range (self)
 range(self) The disassembly range has been changed ( idainfo::min_ea ... idainfo::max_ea).
 
"void" idcstart (self)
 idcstart(self) Start of IDC engine work.
 
"void" idcstop (self)
 idcstop(self) Stop of IDC engine work.
 
"void" suspend (self)
 suspend(self) Suspend graphical interface.
 
"void" resume (self)
 resume(self) Resume the suspended graphical interface.
 
"void" saving (self)
 saving(self) The kernel is flushing its buffers to the disk.
 
"void" saved (self, "char const *" path)
 saved(self, path) The kernel has saved the database.
 
"void" database_closed (self)
 database_closed(self) The database has been closed.
 
"void" debugger_menu_change (self, "bool" enable)
 debugger_menu_change(self, enable) debugger menu modification detected
 
"void" widget_visible (self, "TWidget *" widget)
 widget_visible(self, widget) TWidget is displayed on the screen.
 
"void" widget_closing (self, "TWidget *" widget)
 widget_closing(self, widget) TWidget is about to close.
 
"void" widget_invisible (self, "TWidget *" widget)
 widget_invisible(self, widget) TWidget is being closed.
 
"PyObject *" get_ea_hint (self, "ea_t" ea)
 get_ea_hint(self, ea) -> PyObject * ui wants to display a simple hint for an address.
 
"PyObject *" get_item_hint (self, "ea_t" ea, "int" max_lines)
 get_item_hint(self, ea, max_lines) -> PyObject * ui wants to display multiline hint for an item.
 
"PyObject *" get_custom_viewer_hint (self, "TWidget *" viewer, "place_t" place)
 get_custom_viewer_hint(self, viewer, place) -> PyObject * ui wants to display a hint for a viewer (idaview or custom).
 
"void" database_inited (self, "int" is_new_database, "char const *" idc_script)
 database_inited(self, is_new_database, idc_script) database initialization has completed.
 
"void" ready_to_run (self)
 ready_to_run(self) all UI elements have been initialized.
 
"int" preprocess_action (self, "char const *" name)
 preprocess_action(self, name) -> int ida ui is about to handle a user action.
 
"void" postprocess_action (self)
 postprocess_action(self) an ida ui action has been handled
 
"void" get_chooser_item_attrs (self, "chooser_base_t" chooser, "size_t" n, "chooser_item_attrs_t" attrs)
 get_chooser_item_attrs(self, chooser, n, attrs) get item-specific attributes for a chooser.
 
"void" updating_actions (self, "action_ctx_base_t" ctx)
 updating_actions(self, ctx) IDA is about to update all actions.
 
"void" updated_actions (self)
 updated_actions(self) IDA is done updating actions.
 
"void" finish_populating_widget_popup (self, "TWidget *" widget, "TPopupMenu *" popup_handle, "action_ctx_base_t" ctx=None)
 finish_populating_widget_popup(self, widget, popup_handle, ctx=None) IDA is about to be done populating the context menu for a widget.
 
"void" plugin_loaded (self, "plugin_info_t const *" plugin_info)
 plugin_loaded(self, plugin_info) The plugin was loaded in memory.
 
"void" plugin_unloading (self, "plugin_info_t const *" plugin_info)
 plugin_unloading(self, plugin_info) The plugin is about to be unloaded
 
"void" current_widget_changed (self, "TWidget *" widget, "TWidget *" prev_widget)
 current_widget_changed(self, widget, prev_widget) The currently-active TWidget changed.
 
"void" screen_ea_changed (self, "ea_t" ea, "ea_t" prev_ea)
 screen_ea_changed(self, ea, prev_ea) The "current address" changed
 
"PyObject *" create_desktop_widget (self, "char const *" title, "jobj_wrapper_t" cfg)
 create_desktop_widget(self, title, cfg) -> PyObject * create a widget, to be placed in the widget tree (at desktop-creation time.)
 
"void" get_lines_rendering_info (self, "lines_rendering_output_t" out, "TWidget const *" widget, "lines_rendering_input_t" info)
 get_lines_rendering_info(self, out, widget, info) get lines rendering information
 
"PyObject *" get_widget_config (self, "TWidget const *" widget, "jobj_t *" cfg)
 get_widget_config(self, widget, cfg) -> PyObject * retrieve the widget configuration (it will be passed back at ui_create_desktop_widget-, and ui_set_widget_config-time)
 
"void" set_widget_config (self, "TWidget const *" widget, "jobj_wrapper_t" cfg)
 set_widget_config(self, widget, cfg) set the widget configuration
 
"void" initing_database (self)
 initing_database(self) database initialization has started.
 
"void" destroying_procmod (self, "procmod_t" procmod)
 destroying_procmod(self, procmod) The processor module is about to be destroyed
 
"void" destroying_plugmod (self, "plugmod_t" plugmod, "plugin_t const *" entry)
 destroying_plugmod(self, plugmod, entry) The plugin object is about to be destroyed
 
"void" desktop_applied (self, "char const *" name, "bool" from_idb, "int" type)
 desktop_applied(self, name, from_idb, type) a desktop has been applied
 
 __disown__ (self)
 

Public Attributes

 v = weakref.ref(v)
 

Additional Inherited Members

- Properties inherited from UI_Hooks
 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
_flags )
Parameters
_flagsuint32
_hkcb_flagsuint32

Reimplemented from UI_Hooks.

Member Function Documentation

◆ populating_widget_popup()

populating_widget_popup ( self,
widget,
popup_handle )

This is your chance to attach_action_to_popup().

Have a look at ui_finish_populating_widget_popup, if you want to augment the context menu with your own actions after the menu has had a chance to be properly populated by the owning component or plugin (which typically does it on ui_populating_widget_popup.)

Parameters
widget(TWidget *)
popup_handle(TPopupMenu *)
ctx(const action_activation_ctx_t *)

Reimplemented from UI_Hooks.

Member Data Documentation

◆ v

v = weakref.ref(v)

The documentation for this class was generated from the following file: