#include </home/zeitlin/src/wx/github/interface/wx/event.h>
A move event holds information about wxTopLevelWindow move change events.
These events are currently only generated by wxMSW port.
The following event handler macros redirect the events to member function handlers 'func' with prototypes like:
Event macros:
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. Public Member Functions | |
wxMoveEvent (const wxPoint &pt, int id=0) | |
Constructor. | |
wxPoint | GetPosition () const |
Returns the position of the window generating the move change event. | |
wxRect | GetRect () const |
void | SetRect (const wxRect &rect) |
void | SetPosition (const wxPoint &pos) |
wxMoveEvent::wxMoveEvent | ( | const wxPoint & | pt, |
int | id = 0 |
||
) |
Constructor.
wxPoint wxMoveEvent::GetPosition | ( | ) | const |
Returns the position of the window generating the move change event.
wxRect wxMoveEvent::GetRect | ( | ) | const |
void wxMoveEvent::SetPosition | ( | const wxPoint & | pos | ) |
void wxMoveEvent::SetRect | ( | const wxRect & | rect | ) |