Mode that moves the image (pans). It doesn’t change any coordinates, it only changes what the viewport is
wx.lib.floatcanvas.GUIMode.GUIBase
, wx.lib.floatcanvas.GUIMode.ZoomWithMouseWheel
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 |
GUIMove
(ZoomWithMouseWheel, GUIBase)¶Mode that moves the image (pans). It doesn’t change any coordinates, it only changes what the viewport is
__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