Module ida_kernwin :: Class UI_Hooks
[frames] | no frames]

Class UI_Hooks

object --+
         |
        UI_Hooks
Known Subclasses:

Proxy of C++ UI_Hooks class.

Instance Methods
 
__disown__(self)
UI_Hooks
__init__(self, _flags=0)
x.__init__(...) initializes x; see help(type(x)) for signature
 
__repr__(self)
repr(x)
 
__swig_destroy__(self)
PyObject *
create_desktop_widget(self, title, cfg)
 
current_widget_changed(self, widget, prev_widget)
 
database_inited(self, is_new_database, idc_script)
 
debugger_menu_change(self, enable)
 
finish_populating_widget_popup(self, widget, popup_handle, ctx=None)
The UI is about to be done populating the TWidget's popup menu.
 
get_chooser_item_attrs(self, chooser, n, attrs)
PyObject *
get_custom_viewer_hint(self, viewer, place)
PyObject *
get_ea_hint(self, ea)
The UI wants to display a simple hint for an address in the navigation band
PyObject *
get_item_hint(self, ea, max_lines)
PyObject *
get_widget_config(self, widget, cfg)
bool
hook(self)
Creates an UI hook
 
idcstart(self)
 
idcstop(self)
 
plugin_loaded(self, plugin_info)
 
plugin_unloading(self, plugin_info)
 
populating_widget_popup(self, widget, popup_handle, ctx=None)
The UI is populating the TWidget's popup menu.
 
postprocess_action(self)
An ida ui action has been handled
 
preprocess_action(self, name)
IDA ui is about to handle a user action
 
range(self)
 
ready_to_run(self)
 
resume(self)
 
saved(self)
The kernel has saved the database.
 
saving(self)
The kernel is saving the database.
 
screen_ea_changed(self, ea, prev_ea)
 
set_widget_config(self, widget, cfg)
 
suspend(self)
 
term(self)
IDA is terminated and the database is already closed.
bool
unhook(self)
Removes the UI hook
 
updated_actions(self)
The UI is done updating actions.
 
updating_actions(self, ctx)
The UI is about to batch-update some actions.
 
widget_closing(self, widget)
 
widget_invisible(self, widget)
 
widget_visible(self, widget)

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties
  thisown
The membership flag

Inherited from object: __class__

Method Details

__init__(self, _flags=0)
(Constructor)

 

x.__init__(...) initializes x; see help(type(x)) for signature

Returns: UI_Hooks
Overrides: object.__init__

__repr__(self)
(Representation operator)

 

repr(x)

Overrides: object.__repr__
(inherited documentation)

finish_populating_widget_popup(self, widget, popup_handle, ctx=None)

 

The UI is about to be done populating the TWidget's popup menu. Now is a good time to call idaapi.attach_action_to_popup()

Parameters:
  • widget - The widget
  • popup - The popup menu.
Returns:
Ignored

get_ea_hint(self, ea)

 

The UI wants to display a simple hint for an address in the navigation band

Parameters:
  • ea - The address
Returns: PyObject *
String with the hint or None

hook(self)

 

Creates an UI hook

Returns: bool
Boolean true on success

populating_widget_popup(self, widget, popup_handle, ctx=None)

 

The UI is populating the TWidget's popup menu. Now is a good time to call idaapi.attach_action_to_popup()

Parameters:
  • widget - The widget
  • popup - The popup menu.
Returns:
Ignored

postprocess_action(self)

 

An ida ui action has been handled

Returns:
Ignored

preprocess_action(self, name)

 

IDA ui is about to handle a user action

Parameters:
  • name - ui action name (these names can be looked up in ida[tg]ui.cfg)
Returns:
0-ok, nonzero - a plugin has handled the action

saved(self)

 

The kernel has saved the database.

Returns:
Ignored

saving(self)

 

The kernel is saving the database.

Returns:
Ignored

term(self)

 

IDA is terminated and the database is already closed. The UI may close its windows in this callback.

unhook(self)

 

Removes the UI hook

Returns: bool
Boolean true on success

updated_actions(self)

 

The UI is done updating actions.

Returns:
Ignored

updating_actions(self, ctx)

 

The UI is about to batch-update some actions.

Parameters:
  • ctx - The action_update_ctx_t instance
Returns:
Ignored

Property Details

thisown

The membership flag

Get Method:
unreachable(x)
Set Method:
unreachable(x, v)