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
 
VertZoomIn(self) source code
 
VertZoomOut(self) source code