Package IDAscope :: Module IDAscope :: Class IDAscopeForm
[hide private]
[frames] | no frames]

Class IDAscopeForm

source code

idaapi.PluginForm --+
                    |
                   IDAscopeForm

This class contains the main window of IDAscope Setup of core modules and widgets is performed in here.

Instance Methods [hide private]
 
__init__(self) source code
 
setup_shared_modules(self)
Setup shared IDAscope modules.
source code
 
setup_widgets(self)
Setup IDAscope widgets.
source code
 
setup_IDAscope_form(self)
Orchestrate the already initialized widgets in tabs on the main window.
source code
 
OnCreate(self, form)
When creating the form, setup the shared modules and widgets
source code
 
OnClose(self, form)
Perform cleanup.
source code
 
Show(self) source code
 
setTabFocus(self, widget_name)
Can be used by IDAscope widgets to set focus to a widget, identified by name.
source code
 
register_hotkey(self, shortcut, py_function_pointer)
Can be used by IDAscope widgets to register hotkeys.
source code
Method Details [hide private]

setTabFocus(self, widget_name)

source code 

Can be used by IDAscope widgets to set focus to a widget, identified by name.

Parameters:
  • widget_name (str) - A widget name

register_hotkey(self, shortcut, py_function_pointer)

source code 

Can be used by IDAscope widgets to register hotkeys. Uses a global list HOTKEYS of function pointers that link to the desired functionality. Right now, linked functions cannot take parameters and should scrape all information they need by themselves.

Parameters:
  • shortcut (str) - A string describing a shortcut, e.g. "ctrl+F3"
  • py_function_pointer (a pointer to a python function) - a python function that shall be called when the shortcut is triggered.