Menu module¶
-
class
Menu.ResizingCanvas(parent, **kwargs)¶ Bases:
tkinter.CanvasThis altered Canvas stores the current size and acts like a normal canvas. It also includes the trigger for scaling the map when resizing the window.
Methods
resize(self, event)
Handles the action of resizing the window appropriately
-
resize(event)¶ Takes in the Canvas and the event and resizes the contents of the map accordingly. Not Perfect, needs some work
- Parameters
- self: Modified Canvas
- event: the resizing of the window
-
-
Menu.main()¶