
wx.lib.floatcanvas.GUIMode.GUIBase¶Basic Mouse mode and baseclass for other GUImode.
This one does nothing with any event
Class Hierarchy¶
Inheritance diagram for class GUIBase:

Known Subclasses¶wx.lib.floatcanvas.GUIMode.GUIMouse, wx.lib.floatcanvas.GUIMode.GUIMove, wx.lib.floatcanvas.GUIMode.GUIZoomIn, wx.lib.floatcanvas.GUIMode.GUIZoomOut
Methods Summary¶Default class constructor. |
|
this method gets called by FloatCanvas when a new mode is being set |
|
Update gets called if the screen has been repainted in the middle of a zoom in |
Class API¶GUIBase(object)¶Basic Mouse mode and baseclass for other GUImode.
This one does nothing with any event
__init__(self, Canvas=None)¶Default class constructor.
Canvas – the canvas the GUI mode is attached too
OnKeyDown(self, event)¶OnKeyUp(self, event)¶OnLeftDouble(self, event)¶OnLeftDown(self, event)¶OnLeftUp(self, event)¶OnMiddleDouble(self, event)¶OnMiddleDown(self, event)¶OnMiddleUp(self, event)¶OnMove(self, event)¶OnRightDouble(self, event)¶OnRightDown(self, event)¶OnRightUp(self, event)¶OnWheel(self, event)¶UnSet(self)¶this method gets called by FloatCanvas when a new mode is being set on the Canvas
UpdateScreen(self)¶Update gets called if the screen has been repainted in the middle of a zoom in so the Rubber Band Box can get updated. Other GUIModes may require something similar