IDAPython 8.4
Loading...
Searching...
No Matches
IDAViewWrapper Class Reference

Deprecated. More...

Inheritance diagram for IDAViewWrapper:
CustomIDAMemo View_Hooks

Public Member Functions

 __init__ (self, title)
 init(self, _flags=0, _hkcb_flags=0x0001) -> View_Hooks
 
 Bind (self)
 
 Unbind (self)
 
- Public Member Functions inherited from CustomIDAMemo
 view_activated (self, view)
 view_activated(self, view) A view is activated
 
 view_deactivated (self, view)
 view_deactivated(self, view) A view is deactivated
 
 view_keydown (self, view, key, state)
 view_keydown(self, view, key, state) Key down event
 
 view_click (self, view, ve)
 view_click(self, view, event) Click event
 
 view_dblclick (self, view, ve)
 view_dblclick(self, view, event) Double click event
 
 view_curpos (self, view, *args)
 view_curpos(self, view) Cursor position changed
 
 view_close (self, view, *args)
 view_close(self, view) View closed
 
 view_switched (self, view, rt)
 view_switched(self, view, rt) A view's renderer has changed.
 
 view_mouse_over (self, view, ve)
 view_mouse_over(self, view, event) The user moved the mouse over (or out of) a node or an edge.
 
 view_loc_changed (self, view, now, was)
 view_loc_changed(self, view, now, was) The location for the view has changed (can be either the place_t, the renderer_info_t, or both.)
 
 view_mouse_moved (self, view, ve)
 view_mouse_moved(self, view, event) The mouse moved on the view
 
 Refresh (self)
 Refreshes the view.
 
 GetCurrentRendererType (self)
 
 SetCurrentRendererType (self, rtype)
 Set the current view's renderer.
 
 SetNodeInfo (self, node_index, node_info, flags)
 Set the properties for the given node.
 
 SetNodesInfos (self, values)
 Set the properties for the given nodes.
 
 GetNodeInfo (self, *args)
 Get the properties for the given node.
 
 DelNodesInfos (self, *nodes)
 Delete the properties for the given node(s).
 
 CreateGroups (self, groups_infos)
 Send a request to modify the graph by creating a (set of) group(s), and perform an animation.
 
 DeleteGroups (self, groups, new_current=-1)
 Send a request to delete the specified groups in the graph, and perform an animation.
 
 SetGroupsVisibility (self, groups, expand, new_current=-1)
 Send a request to expand/collapse the specified groups in the graph, and perform an animation.
 
 GetWidget (self)
 Return the TWidget underlying this view.
 
 GetWidgetAsGraphViewer (self)
 Return the graph_viewer_t underlying this view.
 
- Public Member Functions inherited from View_Hooks
"bool" hook (self, *args)
 hook(self) -> bool
 
"bool" unhook (self, *args)
 unhook(self) -> bool
 
"void" view_created (self, *args)
 view_created(self, view) A view is being created.
 
 __disown__ (self)
 

Protected Attributes

 _title = title
 

Additional Inherited Members

- Protected Member Functions inherited from CustomIDAMemo
 _graph_item_tuple (self, ve)
 
 _get_cb (self, view, cb_name)
 
 _get_cb_arity (self, cb)
 
 _OnBind (self, hook)
 
- Static Protected Member Functions inherited from CustomIDAMemo
 _dummy_cb (*args)
 
- Properties inherited from View_Hooks
 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 

Detailed Description

Use View_Hooks instead.

Because the lifecycle of an IDAView is not trivial to track (e.g., a user might close, then re-open the same disassembly view), this wrapper doesn't bring anything superior to the View_Hooks: quite the contrary, as the latter is much more generic (and better maps IDA's internal model.)

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
title )
Parameters
_flagsuint32
_hkcb_flagsuint32

Reimplemented from CustomIDAMemo.

Member Function Documentation

◆ Bind()

Bind ( self)

◆ Unbind()

Unbind ( self)

Member Data Documentation

◆ _title

_title = title
protected

The documentation for this class was generated from the following file: