Public Member Functions | Public Attributes | Static Public Attributes | Static Private Attributes
xdot.DotWidget Class Reference

List of all members.

Public Member Functions

def __init__
def animate_to
def do_expose_event
def get_current_pos
def get_drag_action
def get_jump
def get_url
def is_click
def on_area_button_press
def on_area_button_release
def on_area_motion_notify
def on_area_scroll_event
def on_area_size_allocate
def on_key_press_event
def on_zoom_100
def on_zoom_fit
def on_zoom_in
def on_zoom_out
def reload
def set_current_pos
def set_dotcode
def set_filter
def set_highlight
def set_xdotcode
def window2graph
def zoom_image
def zoom_to_area
def zoom_to_fit

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 1374 of file xdot.py.


Constructor & Destructor Documentation

def xdot.DotWidget.__init__ (   self)

Definition at line 1384 of file xdot.py.


Member Function Documentation

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

Definition at line 1667 of file xdot.py.

def xdot.DotWidget.do_expose_event (   self,
  event 
)

Definition at line 1462 of file xdot.py.

Definition at line 1488 of file xdot.py.

def xdot.DotWidget.get_drag_action (   self,
  event 
)

Definition at line 1596 of file xdot.py.

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

Definition at line 1685 of file xdot.py.

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

Definition at line 1681 of file xdot.py.

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

Definition at line 1618 of file xdot.py.

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

Definition at line 1607 of file xdot.py.

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

Definition at line 1630 of file xdot.py.

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

Definition at line 1659 of file xdot.py.

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

Definition at line 1648 of file xdot.py.

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

Definition at line 1663 of file xdot.py.

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

Definition at line 1559 of file xdot.py.

def xdot.DotWidget.on_zoom_100 (   self,
  action 
)

Definition at line 1554 of file xdot.py.

def xdot.DotWidget.on_zoom_fit (   self,
  action 
)

Definition at line 1551 of file xdot.py.

def xdot.DotWidget.on_zoom_in (   self,
  action 
)

Definition at line 1545 of file xdot.py.

def xdot.DotWidget.on_zoom_out (   self,
  action 
)

Definition at line 1548 of file xdot.py.

def xdot.DotWidget.reload (   self)

Definition at line 1453 of file xdot.py.

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

Definition at line 1491 of file xdot.py.

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

Definition at line 1413 of file xdot.py.

def xdot.DotWidget.set_filter (   self,
  filter 
)

Definition at line 1410 of file xdot.py.

def xdot.DotWidget.set_highlight (   self,
  items 
)

Definition at line 1496 of file xdot.py.

def xdot.DotWidget.set_xdotcode (   self,
  xdotcode 
)

Definition at line 1447 of file xdot.py.

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

Definition at line 1671 of file xdot.py.

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

Definition at line 1501 of file xdot.py.

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

Definition at line 1516 of file xdot.py.

Definition at line 1529 of file xdot.py.


Member Data Documentation

dictionary xdot.DotWidget::__gsignals__ [static, private]
Initial value:
{
        'expose-event': 'override',
        'clicked' : (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE, (gobject.TYPE_STRING, gtk.gdk.Event))
    }

Definition at line 1377 of file xdot.py.

Definition at line 1384 of file xdot.py.

Definition at line 1384 of file xdot.py.

string xdot.DotWidget::filter = 'dot' [static]

Definition at line 1382 of file xdot.py.

Definition at line 1410 of file xdot.py.

Definition at line 1384 of file xdot.py.

Definition at line 1384 of file xdot.py.

Definition at line 1384 of file xdot.py.

int xdot.DotWidget::POS_INCREMENT = 100 [static]

Definition at line 1557 of file xdot.py.

Definition at line 1384 of file xdot.py.

Definition at line 1607 of file xdot.py.

Definition at line 1607 of file xdot.py.

Definition at line 1491 of file xdot.py.

Definition at line 1384 of file xdot.py.

float xdot.DotWidget::ZOOM_INCREMENT = 1.25 [static]

Definition at line 1542 of file xdot.py.

Definition at line 1384 of file xdot.py.

Definition at line 1543 of file xdot.py.

Definition at line 1384 of file xdot.py.


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


cob_script_server
Author(s): Florian Weisshardt
autogenerated on Sun Jun 9 2019 20:20:12