Public Member Functions | Public Attributes | Static Public Attributes
smach_viewer.xdot.wxxdot.WxDotWindow Class Reference

List of all members.

Public Member Functions

def __init__
def animate_to
def get_current_pos
 Helper functions.
def get_drag_action
def get_jump
def get_url
def on_area_size_allocate
def on_zoom_100
def on_zoom_fit
def on_zoom_in
def on_zoom_out
def OnKeyDown
def OnMouse
def OnPaint
def OnResize
 Event handlers.
def OnScroll
def register_select_callback
 User callbacks.
def reload
def set_current_pos
def set_cursor
 Cursor manipulation.
def set_dotcode
def set_filter
def set_highlight
def set_xdotcode
def window2graph
def zoom_image
 Zooming methods.
def zoom_to_area
def zoom_to_fit

Public Attributes

 animation
 ctx
 cursor
 dc
 drag_action
 filter
 graph
 highlight
 items_by_url
 openfilename
 presstime
 pressx
 pressy
 select_cbs
 subgraph_shapes
 x
 y
 zoom_ratio
 zoom_to_fit_on_resize

Static Public Attributes

string filter = 'dot'
int POS_INCREMENT = 100
float ZOOM_INCREMENT = 1.25
int ZOOM_TO_FIT_MARGIN = 12

Detailed Description

wxpython Frame that draws dot graphs.

Definition at line 143 of file wxxdot.py.


Constructor & Destructor Documentation

def smach_viewer.xdot.wxxdot.WxDotWindow.__init__ (   self,
  parent,
  id 
)
constructor

Definition at line 147 of file wxxdot.py.


Member Function Documentation

def smach_viewer.xdot.wxxdot.WxDotWindow.animate_to (   self,
  x,
  y 
)

Definition at line 413 of file wxxdot.py.

Helper functions.

Get the current graph position.

Definition at line 257 of file wxxdot.py.

Get a drag action for this click.

Definition at line 342 of file wxxdot.py.

def smach_viewer.xdot.wxxdot.WxDotWindow.get_jump (   self,
  x,
  y 
)

Definition at line 432 of file wxxdot.py.

def smach_viewer.xdot.wxxdot.WxDotWindow.get_url (   self,
  x,
  y 
)

Definition at line 428 of file wxxdot.py.

def smach_viewer.xdot.wxxdot.WxDotWindow.on_area_size_allocate (   self,
  area,
  allocation 
)

Definition at line 409 of file wxxdot.py.

Definition at line 337 of file wxxdot.py.

Definition at line 334 of file wxxdot.py.

Definition at line 328 of file wxxdot.py.

Definition at line 331 of file wxxdot.py.

Process key down event.

Definition at line 224 of file wxxdot.py.

def smach_viewer.xdot.wxxdot.WxDotWindow.OnMouse (   self,
  event 
)

Definition at line 366 of file wxxdot.py.

def smach_viewer.xdot.wxxdot.WxDotWindow.OnPaint (   self,
  event 
)
Redraw the graph.

Definition at line 186 of file wxxdot.py.

def smach_viewer.xdot.wxxdot.WxDotWindow.OnResize (   self,
  event 
)

Event handlers.

Definition at line 183 of file wxxdot.py.

def smach_viewer.xdot.wxxdot.WxDotWindow.OnScroll (   self,
  event 
)
Zoom the view.

Definition at line 215 of file wxxdot.py.

User callbacks.

Definition at line 179 of file wxxdot.py.

Definition at line 493 of file wxxdot.py.

Set the current graph position.

Definition at line 261 of file wxxdot.py.

def smach_viewer.xdot.wxxdot.WxDotWindow.set_cursor (   self,
  cursor_type 
)

Cursor manipulation.

Definition at line 274 of file wxxdot.py.

def smach_viewer.xdot.wxxdot.WxDotWindow.set_dotcode (   self,
  dotcode,
  filename = '<stdin>' 
)

Definition at line 439 of file wxxdot.py.

Definition at line 436 of file wxxdot.py.

Set a number of items to be hilighted.

Definition at line 267 of file wxxdot.py.

def smach_viewer.xdot.wxxdot.WxDotWindow.set_xdotcode (   self,
  xdotcode 
)
Set xdot code.

Definition at line 485 of file wxxdot.py.

Definition at line 417 of file wxxdot.py.

def smach_viewer.xdot.wxxdot.WxDotWindow.zoom_image (   self,
  zoom_ratio,
  center = False,
  pos = None 
)

Zooming methods.

Zoom the graph.

Definition at line 279 of file wxxdot.py.

def smach_viewer.xdot.wxxdot.WxDotWindow.zoom_to_area (   self,
  x1,
  y1,
  x2,
  y2 
)
Zoom to an area of the graph.

Definition at line 295 of file wxxdot.py.

Zoom to fit the size of the graph.

Definition at line 309 of file wxxdot.py.


Member Data Documentation

Definition at line 147 of file wxxdot.py.

Definition at line 147 of file wxxdot.py.

Definition at line 274 of file wxxdot.py.

Definition at line 147 of file wxxdot.py.

Definition at line 147 of file wxxdot.py.

Definition at line 145 of file wxxdot.py.

Definition at line 436 of file wxxdot.py.

Definition at line 147 of file wxxdot.py.

Definition at line 147 of file wxxdot.py.

Definition at line 147 of file wxxdot.py.

Definition at line 147 of file wxxdot.py.

Definition at line 340 of file wxxdot.py.

Definition at line 147 of file wxxdot.py.

Definition at line 366 of file wxxdot.py.

Definition at line 366 of file wxxdot.py.

Definition at line 147 of file wxxdot.py.

Definition at line 439 of file wxxdot.py.

Definition at line 261 of file wxxdot.py.

Definition at line 147 of file wxxdot.py.

Definition at line 325 of file wxxdot.py.

Definition at line 147 of file wxxdot.py.

Definition at line 326 of file wxxdot.py.

Definition at line 147 of file wxxdot.py.


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


smach_viewer
Author(s): Jonathan Bohren
autogenerated on Thu Jun 22 2017 02:19:21