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
 
__repr__(self)
repr(x)
 
__swig_destroy__(self)
 
__del__(self)
bool
hook(self)
Creates an UI hook
bool
unhook(self)
Removes the UI hook
 
range(self)
 
idcstart(self)
 
idcstop(self)
 
suspend(self)
 
resume(self)
 
saving(self)
The kernel is saving the database.
 
saved(self)
The kernel has saved the database.
 
term(self)
IDA is terminated and the database is already closed.
int
debugger_menu_change(self, enable)
 
widget_visible(self, widget)
 
widget_closing(self, widget)
 
widget_invisible(self, widget)
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_custom_viewer_hint(self, viewer, place)
 
database_inited(self, is_new_database, idc_script)
 
ready_to_run(self)
 
preprocess_action(self, name)
IDA ui is about to handle a user action
 
postprocess_action(self)
An ida ui action has been handled
 
get_chooser_item_attrs(self, chooser, n, attrs)
 
updating_actions(self, ctx)
The UI is about to batch-update some actions.
 
updated_actions(self)
The UI is done updating actions.
 
populating_widget_popup(self, widget, popup_handle)
The UI is populating the TWidget's popup menu.
 
finish_populating_widget_popup(self, widget, popup_handle)
The UI is about to be done populating the TWidget's popup menu.
 
plugin_loaded(self, plugin_info)
 
plugin_unloading(self, plugin_info)
 
current_widget_changed(self, widget, prev_widget)
UI_Hooks
__init__(self)
x.__init__(...) initializes x; see help(type(x)) for signature
 
__disown__(self)

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

__repr__(self)
(Representation operator)

 

repr(x)

Overrides: object.__repr__
(inherited documentation)

hook(self)

 

Creates an UI hook

Returns: bool
Boolean true on success

unhook(self)

 

Removes the UI hook

Returns: bool
Boolean true on success

saving(self)

 

The kernel is saving the database.

Returns:
Ignored

saved(self)

 

The kernel has saved the database.

Returns:
Ignored

term(self)

 

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

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

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

postprocess_action(self)

 

An ida ui action has been handled

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

updated_actions(self)

 

The UI is done updating actions.

Returns:
Ignored

populating_widget_popup(self, widget, popup_handle)

 

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

finish_populating_widget_popup(self, widget, popup_handle)

 

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

__init__(self)
(Constructor)

 

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

Returns: UI_Hooks
Overrides: object.__init__

Property Details

thisown

The membership flag

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