|
IDAPython 9.0
|
Classes | |
| class | UI_Hooks_Trampoline |
Public Member Functions | |
| __init__ (self, title, close_open=False) | |
| AddNode (self, obj) | |
| AddEdge (self, src_node, dest_node) | |
| Clear (self) | |
| __iter__ (self) | |
| __getitem__ (self, idx) | |
| Count (self) | |
| Close (self) | |
| Show (self) | |
| Select (self, node_id) | |
| OnRefresh (self) | |
| AddCommand (self, title, shortcut) | |
| OnPopup (self, widget, popup_handle) | |
| OnCommand (self, cmd_id) | |
Public Member Functions inherited from CustomIDAMemo | |
| view_activated (self, view) | |
| view_deactivated (self, view) | |
| view_keydown (self, view, key, state) | |
| view_click (self, view, ve) | |
| view_dblclick (self, view, ve) | |
| view_curpos (self, view, *args) | |
| view_close (self, view, *args) | |
| view_switched (self, view, rt) | |
| view_mouse_over (self, view, ve) | |
| view_loc_changed (self, view, now, was) | |
| view_mouse_moved (self, view, ve) | |
| Refresh (self) | |
| GetCurrentRendererType (self) | |
| SetCurrentRendererType (self, rtype) | |
| SetNodeInfo (self, node_index, node_info, flags) | |
| SetNodesInfos (self, values) | |
| GetNodeInfo (self, *args) | |
| DelNodesInfos (self, *nodes) | |
| CreateGroups (self, groups_infos) | |
| DeleteGroups (self, groups, new_current=-1) | |
| SetGroupsVisibility (self, groups, expand, new_current=-1) | |
| GetWidget (self) | |
| GetWidgetAsGraphViewer (self) | |
Public Member Functions inherited from View_Hooks | |
| bool | hook (self) |
| bool | unhook (self) |
| None | view_created (self, 'TWidget *' view) |
| __disown__ (self) | |
Public Attributes | |
| ui_hooks_trampoline = self.UI_Hooks_Trampoline(self) | |
Protected Member Functions | |
| _OnBind (self, hook) | |
Protected Member Functions inherited from CustomIDAMemo | |
| _graph_item_tuple (self, ve) | |
| _get_cb (self, view, cb_name) | |
| _get_cb_arity (self, cb) | |
Protected Attributes | |
| _title = title | |
| list | _nodes = [] |
| list | _edges = [] |
| _close_open = close_open | |
| _quick_commands = ida_kernwin.quick_widget_commands_t(_qccb) | |
Additional Inherited Members | |
Static Protected Member Functions inherited from CustomIDAMemo | |
| _dummy_cb (*args) | |
Properties inherited from View_Hooks | |
| thisown | |
| __init__ | ( | self, | |
| title, | |||
| close_open = False ) |
Constructs the GraphView object. Please do not remove or rename the private fields @param title: The title of the graph window @param close_open: Should it attempt to close an existing graph (with same title) before creating this graph?
Reimplemented from CustomIDAMemo.
| __getitem__ | ( | self, | |
| idx ) |
Returns a reference to the object associated with this node id
| __iter__ | ( | self | ) |
|
protected |
Reimplemented from CustomIDAMemo.
| AddCommand | ( | self, | |
| title, | |||
| shortcut ) |
| AddEdge | ( | self, | |
| src_node, | |||
| dest_node ) |
Creates an edge between two given node ids
| AddNode | ( | self, | |
| obj ) |
Creates a node associated with the given object and returns the node id
| Clear | ( | self | ) |
Clears all the nodes and edges
| Close | ( | self | ) |
Closes the graph. It is possible to call Show() again (which will recreate the graph)
| Count | ( | self | ) |
Returns the node count
| OnCommand | ( | self, | |
| cmd_id ) |
| OnPopup | ( | self, | |
| widget, | |||
| popup_handle ) |
| OnRefresh | ( | self | ) |
Event called when the graph is refreshed or first created. From this event you are supposed to create nodes and edges. This callback is mandatory. @note: ***It is important to clear previous nodes before adding nodes.*** @return: Returning True tells the graph viewer to use the items. Otherwise old items will be used.
| Select | ( | self, | |
| node_id ) |
Selects a node on the graph
| Show | ( | self | ) |
Shows an existing graph or creates a new one @return: Boolean
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| ui_hooks_trampoline = self.UI_Hooks_Trampoline(self) |