A move event holds information about wx.TopLevelWindow move change events.
These events are currently only generated by wxMSW port.
Handlers bound for the following event types will receive a wx.MoveEvent parameter.
wxEVT_MOVE
event, which is generated when a window is moved.wxEVT_MOVE_START
event, which is generated when the user starts to move or size a window. wxMSW only.wxEVT_MOVING
event, which is generated while the user is moving the window. wxMSW only.wxEVT_MOVE_END
event, which is generated when the user stops moving or sizing a window. wxMSW only.See also
__init__ |
Constructor. |
GetPosition |
Returns the position of the window generating the move change event. |
GetRect |
|
SetPosition |
|
SetRect |
wx.
MoveEvent
(Event)¶Possible constructors:
MoveEvent(pt, id=0)
A move event holds information about TopLevelWindow move change events.
GetPosition
(self)¶Returns the position of the window generating the move change event.
Return type: | wx.Point |
---|
Position
¶See GetPosition
and SetPosition