Public Member Functions | |
def | __init__ (self, parent, id) |
def | animate_to (self, x, y) |
def | get_current_pos (self) |
Helper functions. More... | |
def | get_drag_action (self, event) |
def | get_jump (self, x, y) |
def | get_url (self, x, y) |
def | on_area_size_allocate (self, area, allocation) |
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 | OnKeyDown (self, event) |
def | OnMouse (self, event) |
def | OnPaint (self, event) |
def | OnResize (self, event) |
Event handlers. More... | |
def | OnScroll (self, event) |
def | register_select_callback (self, cb) |
User callbacks. More... | |
def | reload (self) |
def | set_current_pos (self, x, y) |
def | set_cursor (self, cursor_type) |
Cursor manipulation. More... | |
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) |
Zooming methods. More... | |
def | zoom_to_area (self, x1, y1, x2, y2) |
def | zoom_to_fit (self) |
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 |
def smach_viewer.xdot.wxxdot.WxDotWindow.__init__ | ( | self, | |
parent, | |||
id | |||
) |
def smach_viewer.xdot.wxxdot.WxDotWindow.animate_to | ( | self, | |
x, | |||
y | |||
) |
def smach_viewer.xdot.wxxdot.WxDotWindow.get_current_pos | ( | self | ) |
def smach_viewer.xdot.wxxdot.WxDotWindow.get_drag_action | ( | self, | |
event | |||
) |
def smach_viewer.xdot.wxxdot.WxDotWindow.get_jump | ( | self, | |
x, | |||
y | |||
) |
def smach_viewer.xdot.wxxdot.WxDotWindow.get_url | ( | self, | |
x, | |||
y | |||
) |
def smach_viewer.xdot.wxxdot.WxDotWindow.on_area_size_allocate | ( | self, | |
area, | |||
allocation | |||
) |
def smach_viewer.xdot.wxxdot.WxDotWindow.on_zoom_100 | ( | self, | |
action | |||
) |
def smach_viewer.xdot.wxxdot.WxDotWindow.on_zoom_fit | ( | self, | |
action | |||
) |
def smach_viewer.xdot.wxxdot.WxDotWindow.on_zoom_in | ( | self, | |
action | |||
) |
def smach_viewer.xdot.wxxdot.WxDotWindow.on_zoom_out | ( | self, | |
action | |||
) |
def smach_viewer.xdot.wxxdot.WxDotWindow.OnKeyDown | ( | self, | |
event | |||
) |
def smach_viewer.xdot.wxxdot.WxDotWindow.OnMouse | ( | self, | |
event | |||
) |
def smach_viewer.xdot.wxxdot.WxDotWindow.OnPaint | ( | self, | |
event | |||
) |
def smach_viewer.xdot.wxxdot.WxDotWindow.OnResize | ( | self, | |
event | |||
) |
def smach_viewer.xdot.wxxdot.WxDotWindow.OnScroll | ( | self, | |
event | |||
) |
def smach_viewer.xdot.wxxdot.WxDotWindow.register_select_callback | ( | self, | |
cb | |||
) |
def smach_viewer.xdot.wxxdot.WxDotWindow.set_current_pos | ( | self, | |
x, | |||
y | |||
) |
def smach_viewer.xdot.wxxdot.WxDotWindow.set_cursor | ( | self, | |
cursor_type | |||
) |
def smach_viewer.xdot.wxxdot.WxDotWindow.set_dotcode | ( | self, | |
dotcode, | |||
filename = '<stdin>' |
|||
) |
def smach_viewer.xdot.wxxdot.WxDotWindow.set_filter | ( | self, | |
filter | |||
) |
def smach_viewer.xdot.wxxdot.WxDotWindow.set_highlight | ( | self, | |
items | |||
) |
def smach_viewer.xdot.wxxdot.WxDotWindow.set_xdotcode | ( | self, | |
xdotcode | |||
) |
def smach_viewer.xdot.wxxdot.WxDotWindow.window2graph | ( | self, | |
x, | |||
y | |||
) |
def smach_viewer.xdot.wxxdot.WxDotWindow.zoom_image | ( | self, | |
zoom_ratio, | |||
center = False , |
|||
pos = None |
|||
) |
def smach_viewer.xdot.wxxdot.WxDotWindow.zoom_to_area | ( | self, | |
x1, | |||
y1, | |||
x2, | |||
y2 | |||
) |
def smach_viewer.xdot.wxxdot.WxDotWindow.zoom_to_fit | ( | self | ) |
|
static |
|
static |
|
static |
|
static |
smach_viewer.xdot.wxxdot.WxDotWindow.zoom_to_fit_on_resize |