.. wxPython Phoenix documentation
This file was generated by Phoenix's sphinx generator and associated
tools, do not edit by hand.
Copyright: (c) 2011-2020 by Total Control Software
License: wxWindows License
.. include:: headings.inc
.. currentmodule:: wx.lib.floatcanvas.GUIMode
.. highlight:: python
.. _wx.lib.floatcanvas.GUIMode.GUIMove:
==========================================================================================================================================
|phoenix_title| **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| Class Hierarchy
=================================
.. raw:: html

Inheritance diagram for class
GUIMove:
|
|super_classes| Known Superclasses
==================================
:class:`wx.lib.floatcanvas.GUIMode.GUIBase`, :class:`wx.lib.floatcanvas.GUIMode.ZoomWithMouseWheel`
|
|method_summary| Methods Summary
================================
================================================================================ ================================================================================
:meth:`~wx.lib.floatcanvas.GUIMode.GUIMove.__init__` Initialize self. See help(type(self)) for accurate signature.
:meth:`~wx.lib.floatcanvas.GUIMode.GUIMove.MoveImage`
:meth:`~wx.lib.floatcanvas.GUIMode.GUIMove.OnLeftDown`
:meth:`~wx.lib.floatcanvas.GUIMode.GUIMove.OnLeftUp`
:meth:`~wx.lib.floatcanvas.GUIMode.GUIMove.OnMove`
:meth:`~wx.lib.floatcanvas.GUIMode.GUIMove.OnMoveTimer`
:meth:`~wx.lib.floatcanvas.GUIMode.GUIMove.UpdateScreen` Update gets called if the screen has been repainted in the middle of a zoom in
================================================================================ ================================================================================
|
|api| 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
.. method:: __init__(self, canvas=None)
Initialize self. See help(type(self)) for accurate signature.
.. method:: MoveImage(self, event )
.. method:: OnLeftDown(self, event)
.. method:: OnLeftUp(self, event)
.. method:: OnMove(self, event)
.. method:: OnMoveTimer(self, event=None)
.. method:: 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