************ wx.MoveEvent ************ Inheritance diagram for `wx.MoveEvent`: | .. inheritance-diagram:: wx.MoveEvent | Description =========== A move event holds information about move change events. .. seealso:: `wx.Point <../Widgets/wx.Point.html>`_ Derived From ^^^^^^^^^^^^^ * `wx.Event `_ * `wx.Object <../Widgets/wx.Object.html>`_ Event Handling ^^^^^^^^^^^^^^ ================================================== ================================================== Event Name Description ================================================== ================================================== wx.EVT_MOVE(func) Process a ``wx.wxEVT_MOVE`` event, generated when a window is moved. ================================================== ================================================== Methods Summary ^^^^^^^^^^^^^^^ * `__init__ <#__init__>`_ * `GetPosition <#GetPosition>`_ * `GetRect <#GetRect>`_ * `SetPosition <#SetPosition>`_ * `SetRect <#SetRect>`_ Properties Summary ^^^^^^^^^^^^^^^^^^ * `Position <#Position>`_ * `Rect <#Rect>`_ * `m_pos <#m_pos>`_ * `m_rect <#m_rect>`_ Class API ========= Methods ^^^^^^^ .. method:: __init__(pos=wx.DefaultPosition, winid=0) Constructor. **Parameters:** * `pos` (`wx.Point <../Widgets/wx.Point.html>`_) * `winid` (int) | **Returns:** `wx.MoveEvent `_ -------- .. method:: GetPosition() Returns the position of the window generating the move change event. | **Returns:** `wx.Point <../Widgets/wx.Point.html>`_ -------- .. method:: GetRect() Returns the rectangle of the window generating the move change event. | **Returns:** `wx.Rect <../Widgets/wx.Rect.html>`_ -------- .. method:: SetPosition(pos) | **Parameters:** * `pos` (`wx.Point <../Widgets/wx.Point.html>`_) -------- .. method:: SetRect(rect) | **Parameters:** * `rect` (`wx.Rect <../Widgets/wx.Rect.html>`_) -------- Properties ^^^^^^^^^^ .. attribute:: Position See `GetPosition <#GetPosition>`_ and `SetPosition <#SetPosition>`_ .. attribute:: Rect See `GetRect <#GetRect>`_ and `SetRect <#SetRect>`_ .. attribute:: m_pos See `GetPosition <#GetPosition>`_ and `SetPosition <#SetPosition>`_ .. attribute:: m_rect GetRect(self) -> Rect See `GetRect <#GetRect>`_ and `SetRect <#SetRect>`_