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


Constructor & Destructor Documentation

def xdot.DotWidget.__init__ (   self)

Definition at line 1385 of file xdot.py.


Member Function Documentation

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

Definition at line 1668 of file xdot.py.

def xdot.DotWidget.do_expose_event (   self,
  event 
)

Definition at line 1463 of file xdot.py.

Definition at line 1489 of file xdot.py.

def xdot.DotWidget.get_drag_action (   self,
  event 
)

Definition at line 1597 of file xdot.py.

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

Definition at line 1686 of file xdot.py.

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

Definition at line 1682 of file xdot.py.

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

Definition at line 1619 of file xdot.py.

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

Definition at line 1608 of file xdot.py.

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

Definition at line 1631 of file xdot.py.

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

Definition at line 1660 of file xdot.py.

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

Definition at line 1649 of file xdot.py.

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

Definition at line 1664 of file xdot.py.

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

Definition at line 1560 of file xdot.py.

def xdot.DotWidget.on_zoom_100 (   self,
  action 
)

Definition at line 1555 of file xdot.py.

def xdot.DotWidget.on_zoom_fit (   self,
  action 
)

Definition at line 1552 of file xdot.py.

def xdot.DotWidget.on_zoom_in (   self,
  action 
)

Definition at line 1546 of file xdot.py.

def xdot.DotWidget.on_zoom_out (   self,
  action 
)

Definition at line 1549 of file xdot.py.

def xdot.DotWidget.reload (   self)

Definition at line 1454 of file xdot.py.

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

Definition at line 1492 of file xdot.py.

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

Definition at line 1414 of file xdot.py.

def xdot.DotWidget.set_filter (   self,
  filter 
)

Definition at line 1411 of file xdot.py.

def xdot.DotWidget.set_highlight (   self,
  items 
)

Definition at line 1497 of file xdot.py.

def xdot.DotWidget.set_xdotcode (   self,
  xdotcode 
)

Definition at line 1448 of file xdot.py.

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

Definition at line 1672 of file xdot.py.

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

Definition at line 1502 of file xdot.py.

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

Definition at line 1517 of file xdot.py.

Definition at line 1530 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 1378 of file xdot.py.

Definition at line 1385 of file xdot.py.

Definition at line 1385 of file xdot.py.

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

Definition at line 1383 of file xdot.py.

Definition at line 1411 of file xdot.py.

Definition at line 1385 of file xdot.py.

Definition at line 1385 of file xdot.py.

Definition at line 1385 of file xdot.py.

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

Definition at line 1558 of file xdot.py.

Definition at line 1385 of file xdot.py.

Definition at line 1608 of file xdot.py.

Definition at line 1608 of file xdot.py.

Definition at line 1492 of file xdot.py.

Definition at line 1385 of file xdot.py.

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

Definition at line 1543 of file xdot.py.

Definition at line 1385 of file xdot.py.

Definition at line 1544 of file xdot.py.

Definition at line 1385 of file xdot.py.


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


cob_script_server
Author(s): Florian Weisshardt
autogenerated on Thu Aug 27 2015 12:42:55