IDAPython 8.4
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, *args)
 hook(self) -> bool
 
"bool" unhook (self, *args)
 unhook(self) -> bool
 
"void" range (self, *args)
 range(self) The disassembly range has been changed ( idainfo::min_ea ... idainfo::max_ea).
 
"void" idcstart (self, *args)
 idcstart(self) Start of IDC engine work.
 
"void" idcstop (self, *args)
 idcstop(self) Stop of IDC engine work.
 
"void" suspend (self, *args)
 suspend(self) Suspend graphical interface.
 
"void" resume (self, *args)
 resume(self) Resume the suspended graphical interface.
 
"void" saving (self, *args)
 saving(self) The kernel is flushing its buffers to the disk.
 
"void" saved (self, *args)
 saved(self, path) The kernel has saved the database.
 
"void" database_closed (self, *args)
 database_closed(self) The database has been closed.
 
"void" debugger_menu_change (self, *args)
 debugger_menu_change(self, enable) debugger menu modification detected
 
"void" widget_visible (self, *args)
 widget_visible(self, widget) TWidget is displayed on the screen.
 
"void" widget_closing (self, *args)
 widget_closing(self, widget) TWidget is about to close.
 
"void" widget_invisible (self, *args)
 widget_invisible(self, widget) TWidget is being closed.
 
"PyObject *" get_ea_hint (self, *args)
 get_ea_hint(self, ea) -> PyObject * ui wants to display a simple hint for an address.
 
"PyObject *" get_item_hint (self, *args)
 get_item_hint(self, ea, max_lines) -> PyObject * ui wants to display multiline hint for an item.
 
"PyObject *" get_custom_viewer_hint (self, *args)
 get_custom_viewer_hint(self, viewer, place) -> PyObject * ui wants to display a hint for a viewer (idaview or custom).
 
"void" database_inited (self, *args)
 database_inited(self, is_new_database, idc_script) database initialization has completed.
 
"void" ready_to_run (self, *args)
 ready_to_run(self) all UI elements have been initialized.
 
"int" preprocess_action (self, *args)
 preprocess_action(self, name) -> int ida ui is about to handle a user action.
 
"void" postprocess_action (self, *args)
 postprocess_action(self) an ida ui action has been handled
 
"void" get_chooser_item_attrs (self, *args)
 get_chooser_item_attrs(self, chooser, n, attrs) get item-specific attributes for a chooser.
 
"void" updating_actions (self, *args)
 updating_actions(self, ctx) IDA is about to update all actions.
 
"void" updated_actions (self, *args)
 updated_actions(self) IDA is done updating actions.
 
"void" finish_populating_widget_popup (self, *args)
 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, *args)
 plugin_loaded(self, plugin_info) The plugin was loaded in memory.
 
"void" plugin_unloading (self, *args)
 plugin_unloading(self, plugin_info) The plugin is about to be unloaded
 
"void" current_widget_changed (self, *args)
 current_widget_changed(self, widget, prev_widget) The currently-active TWidget changed.
 
"void" screen_ea_changed (self, *args)
 screen_ea_changed(self, ea, prev_ea) The "current address" changed
 
"PyObject *" create_desktop_widget (self, *args)
 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, *args)
 get_lines_rendering_info(self, out, widget, info) get lines rendering information
 
"PyObject *" get_widget_config (self, *args)
 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, *args)
 set_widget_config(self, widget, cfg) set the widget configuration
 
"void" initing_database (self, *args)
 initing_database(self) database initialization has started.
 
"void" destroying_procmod (self, *args)
 destroying_procmod(self, procmod) The processor module is about to be destroyed
 
"void" destroying_plugmod (self, *args)
 destroying_plugmod(self, plugmod, entry) The plugin object is about to be destroyed
 
"void" desktop_applied (self, *args)
 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,
args )
Parameters
_flagsuint32
_hkcb_flagsuint32

Reimplemented from UI_Hooks.

Member Function Documentation

◆ populating_widget_popup()

populating_widget_popup ( self,
args,
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: