Version: 2.9.4
Public Member Functions
wxMoveEvent Class Reference

#include </home/zeitlin/src/wx/github/interface/wx/event.h>

Inheritance diagram for wxMoveEvent:

Detailed Description

A move event holds information about wxTopLevelWindow move change events.

These events are currently only generated by wxMSW port.

Events using this class

The following event handler macros redirect the events to member function handlers 'func' with prototypes like:

void handlerFuncName(wxMoveEvent& event)

Event macros:

Library:  wxCore
Category:  Events
参照:
wxPoint, Events and Event Handling

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)

List of all members.


Constructor & Destructor Documentation

wxMoveEvent::wxMoveEvent ( const wxPoint pt,
int  id = 0 
)

Constructor.


Member Function Documentation

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)
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines