Gnumed.timelinelib.proxies.drawingarea.DrawingAreaProxy

Package Gnumed :: Package timelinelib :: Package proxies :: Module drawingarea :: Class DrawingAreaProxy |
[frames] | no frames]

# Class DrawingAreaProxy

source code

    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()

Instance Methods
__init__(self, creator) | source code
zoom_in(self) | source code
zoom_out(self) | source code
vertical_zoom_in(self) | source code
vertical_zoom_out(self) | source code

Properties
| view_properties

Property Details

### view_properties Get Method: unreachable.view_properties(self)