.. wxPython Phoenix documentation

   This file was generated by Phoenix's sphinx generator and associated
   tools, do not edit by hand.

   Copyright: (c) 2011-2025 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

   <div class="collabsible-wrapper">
      <input id="collapsible-inheritance" class="collapsible-checkbox" type="checkbox">
      <label for="collapsible-inheritance" tabindex="0" title="Show inheritance diagram" class="collapsible-label">Inheritance diagram for class <strong>GUIMove</strong>:</label>
      <div class="collapsible-content">
         <p class="graphviz">
            <center><img src="_static/images/inheritance/wx.lib.floatcanvas.GUIMode.GUIMove_inheritance.svg" alt="Inheritance diagram of GUIMove" usemap="#dummy" class="inheritance invert-in-dark-mode"/></center>
            <map id="dummy" name="dummy"> <area shape="rect" id="node1" href="wx.lib.floatcanvas.GUIMode.GUIMove.html" title="Mode that moves the image (pans)." alt="" coords="241,82,538,111"/> <area shape="rect" id="node2" href="wx.lib.floatcanvas.GUIMode.ZoomWithMouseWheel.html" title="wx.lib.floatcanvas.GUIMode.ZoomWithMouseWheel" alt="" coords="5,5,403,34"/> <area shape="rect" id="node3" href="wx.lib.floatcanvas.GUIMode.GUIBase.html" title="Basic Mouse mode and baseclass for other GUImode." alt="" coords="427,5,723,34"/> </map> 
         </p>
      </div>
   </div>
   <script type="text/javascript" src="_static/inheritancetoggle.js"></script>



|


|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


