module timelinelib.proxies.drawingarea

class timelinelib.proxies.drawingarea.DrawingAreaProxy[source]

Bases: object

The purpose of this proxy is to simplify the access to the canvas from the MainFrame window.

Example of usage in MainFrame GuiCreator:
def zoomout(evt):

DrawingAreaProxy(self).zoom_out()

Instead of writing:
def zoomout(evt):

self.main_panel.timeline_panel.timeline_canvas.zoom_out()

__init__(creator)[source]

Initialize self. See help(type(self)) for accurate signature.

zoom_in()[source]
zoom_out()[source]
vertical_zoom_in()[source]
vertical_zoom_out()[source]
property view_properties