wx.lib.floatcanvas.GUIMode.GUIMove¶
Mode that moves the image (pans). It doesn’t change any coordinates, it only changes what the viewport is
Class Hierarchy¶
Known Superclasses¶
wx.lib.floatcanvas.GUIMode.GUIBase, wx.lib.floatcanvas.GUIMode.ZoomWithMouseWheel
Methods Summary¶
Initialize self. See help(type(self)) for accurate signature. |
|
Update gets called if the screen has been repainted in the middle of a zoom in |
Class API¶
- class GUIMove(ZoomWithMouseWheel, GUIBase)¶
Mode that moves the image (pans). It doesn’t change any coordinates, it only changes what the viewport is
Methods¶
- __init__(self, canvas=None)¶
Initialize self. See help(type(self)) for accurate signature.
- MoveImage(self, event)¶
- OnLeftDown(self, event)¶
- OnLeftUp(self, event)¶
- OnMove(self, event)¶
- OnMoveTimer(self, event=None)¶
- 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