 wx.lib.floatcanvas.GUIMode.GUIBase¶
  wx.lib.floatcanvas.GUIMode.GUIBase¶
Basic Mouse mode and baseclass for other GUImode.
This one does nothing with any event
 Class Hierarchy¶
 Class Hierarchy¶
 Known Subclasses¶
 Known Subclasses¶
wx.lib.floatcanvas.GUIMode.GUIMouse, wx.lib.floatcanvas.GUIMode.GUIMove, wx.lib.floatcanvas.GUIMode.GUIZoomIn, wx.lib.floatcanvas.GUIMode.GUIZoomOut
 Methods Summary¶
 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¶
 Class API¶
- class GUIBase(object)¶
- Basic Mouse mode and baseclass for other GUImode. - This one does nothing with any event 
 - Methods¶- __init__(self, Canvas=None)¶
- Default class constructor. - Parameters:
- 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 
 
