Public Member Functions | Public Attributes | Static Public Attributes | Static Private Attributes | List of all members
smach_viewer.xdot.xdot.DotWidget Class Reference
Inheritance diagram for smach_viewer.xdot.xdot.DotWidget:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self)
 
def animate_to (self, x, y)
 
def do_expose_event (self, event)
 
def get_current_pos (self)
 
def get_drag_action (self, event)
 
def get_jump (self, x, y)
 
def get_url (self, x, y)
 
def is_click (self, event, click_fuzz=4, click_timeout=1.0)
 
def on_area_button_press (self, area, event)
 
def on_area_button_release (self, area, event)
 
def on_area_motion_notify (self, area, event)
 
def on_area_scroll_event (self, area, event)
 
def on_area_size_allocate (self, area, allocation)
 
def on_key_press_event (self, widget, event)
 
def on_zoom_100 (self, action)
 
def on_zoom_fit (self, action)
 
def on_zoom_in (self, action)
 
def on_zoom_out (self, action)
 
def reload (self)
 
def set_current_pos (self, x, y)
 
def set_dotcode (self, dotcode, filename='< stdin >')
 
def set_filter (self, filter)
 
def set_highlight (self, items)
 
def set_xdotcode (self, xdotcode)
 
def window2graph (self, x, y)
 
def zoom_image (self, zoom_ratio, center=False, pos=None)
 
def zoom_to_area (self, x1, y1, x2, y2)
 
def zoom_to_fit (self)
 

Public Attributes

 animation
 
 drag_action
 
 filter
 
 graph
 
 highlight
 
 openfilename
 
 presstime
 
 pressx
 
 pressy
 
 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
 

Static Private Attributes

dictionary __gsignals__
 

Detailed Description

PyGTK widget that draws dot graphs.

Definition at line 1388 of file xdot.py.

Constructor & Destructor Documentation

def smach_viewer.xdot.xdot.DotWidget.__init__ (   self)

Definition at line 1398 of file xdot.py.

Member Function Documentation

def smach_viewer.xdot.xdot.DotWidget.animate_to (   self,
  x,
  y 
)

Definition at line 1682 of file xdot.py.

def smach_viewer.xdot.xdot.DotWidget.do_expose_event (   self,
  event 
)

Definition at line 1477 of file xdot.py.

def smach_viewer.xdot.xdot.DotWidget.get_current_pos (   self)

Definition at line 1503 of file xdot.py.

def smach_viewer.xdot.xdot.DotWidget.get_drag_action (   self,
  event 
)

Definition at line 1611 of file xdot.py.

def smach_viewer.xdot.xdot.DotWidget.get_jump (   self,
  x,
  y 
)

Definition at line 1700 of file xdot.py.

def smach_viewer.xdot.xdot.DotWidget.get_url (   self,
  x,
  y 
)

Definition at line 1696 of file xdot.py.

def smach_viewer.xdot.xdot.DotWidget.is_click (   self,
  event,
  click_fuzz = 4,
  click_timeout = 1.0 
)

Definition at line 1633 of file xdot.py.

def smach_viewer.xdot.xdot.DotWidget.on_area_button_press (   self,
  area,
  event 
)

Definition at line 1622 of file xdot.py.

def smach_viewer.xdot.xdot.DotWidget.on_area_button_release (   self,
  area,
  event 
)

Definition at line 1645 of file xdot.py.

def smach_viewer.xdot.xdot.DotWidget.on_area_motion_notify (   self,
  area,
  event 
)

Definition at line 1674 of file xdot.py.

def smach_viewer.xdot.xdot.DotWidget.on_area_scroll_event (   self,
  area,
  event 
)

Definition at line 1663 of file xdot.py.

def smach_viewer.xdot.xdot.DotWidget.on_area_size_allocate (   self,
  area,
  allocation 
)

Definition at line 1678 of file xdot.py.

def smach_viewer.xdot.xdot.DotWidget.on_key_press_event (   self,
  widget,
  event 
)

Definition at line 1574 of file xdot.py.

def smach_viewer.xdot.xdot.DotWidget.on_zoom_100 (   self,
  action 
)

Definition at line 1569 of file xdot.py.

def smach_viewer.xdot.xdot.DotWidget.on_zoom_fit (   self,
  action 
)

Definition at line 1566 of file xdot.py.

def smach_viewer.xdot.xdot.DotWidget.on_zoom_in (   self,
  action 
)

Definition at line 1560 of file xdot.py.

def smach_viewer.xdot.xdot.DotWidget.on_zoom_out (   self,
  action 
)

Definition at line 1563 of file xdot.py.

def smach_viewer.xdot.xdot.DotWidget.reload (   self)

Definition at line 1468 of file xdot.py.

def smach_viewer.xdot.xdot.DotWidget.set_current_pos (   self,
  x,
  y 
)

Definition at line 1506 of file xdot.py.

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

Definition at line 1427 of file xdot.py.

def smach_viewer.xdot.xdot.DotWidget.set_filter (   self,
  filter 
)

Definition at line 1424 of file xdot.py.

def smach_viewer.xdot.xdot.DotWidget.set_highlight (   self,
  items 
)

Definition at line 1511 of file xdot.py.

def smach_viewer.xdot.xdot.DotWidget.set_xdotcode (   self,
  xdotcode 
)

Definition at line 1462 of file xdot.py.

def smach_viewer.xdot.xdot.DotWidget.window2graph (   self,
  x,
  y 
)

Definition at line 1686 of file xdot.py.

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

Definition at line 1516 of file xdot.py.

def smach_viewer.xdot.xdot.DotWidget.zoom_to_area (   self,
  x1,
  y1,
  x2,
  y2 
)

Definition at line 1531 of file xdot.py.

def smach_viewer.xdot.xdot.DotWidget.zoom_to_fit (   self)

Definition at line 1544 of file xdot.py.

Member Data Documentation

dictionary smach_viewer.xdot.xdot.DotWidget.__gsignals__
staticprivate
Initial value:
1 = {
2  'expose-event': 'override',
3  'clicked' : (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE, (gobject.TYPE_STRING, gtk.gdk.Event))
4  }

Definition at line 1391 of file xdot.py.

smach_viewer.xdot.xdot.DotWidget.animation

Definition at line 1419 of file xdot.py.

smach_viewer.xdot.xdot.DotWidget.drag_action

Definition at line 1420 of file xdot.py.

string smach_viewer.xdot.xdot.DotWidget.filter = 'dot'
static

Definition at line 1396 of file xdot.py.

smach_viewer.xdot.xdot.DotWidget.filter

Definition at line 1425 of file xdot.py.

smach_viewer.xdot.xdot.DotWidget.graph

Definition at line 1401 of file xdot.py.

smach_viewer.xdot.xdot.DotWidget.highlight

Definition at line 1422 of file xdot.py.

smach_viewer.xdot.xdot.DotWidget.openfilename

Definition at line 1402 of file xdot.py.

int smach_viewer.xdot.xdot.DotWidget.POS_INCREMENT = 100
static

Definition at line 1572 of file xdot.py.

smach_viewer.xdot.xdot.DotWidget.presstime

Definition at line 1421 of file xdot.py.

smach_viewer.xdot.xdot.DotWidget.pressx

Definition at line 1629 of file xdot.py.

smach_viewer.xdot.xdot.DotWidget.pressy

Definition at line 1630 of file xdot.py.

smach_viewer.xdot.xdot.DotWidget.x

Definition at line 1507 of file xdot.py.

smach_viewer.xdot.xdot.DotWidget.y

Definition at line 1416 of file xdot.py.

float smach_viewer.xdot.xdot.DotWidget.ZOOM_INCREMENT = 1.25
static

Definition at line 1557 of file xdot.py.

smach_viewer.xdot.xdot.DotWidget.zoom_ratio

Definition at line 1417 of file xdot.py.

int smach_viewer.xdot.xdot.DotWidget.ZOOM_TO_FIT_MARGIN = 12
static

Definition at line 1558 of file xdot.py.

smach_viewer.xdot.xdot.DotWidget.zoom_to_fit_on_resize

Definition at line 1418 of file xdot.py.


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


smach_viewer
Author(s): Jonathan Bohren
autogenerated on Fri Jun 7 2019 22:03:26