#include </home/zeitlin/src/wx/github/interface/wx/event.h>
Inheritance diagram for wxSetCursorEvent:A wxSetCursorEvent is generated from wxWindow when the mouse cursor is about to be set as a result of mouse motion.
This event gives the application the chance to perform specific mouse cursor processing based on the current position of the mouse within the window. Use wxSetCursorEvent::SetCursor to specify the cursor you want to be displayed.
The following event handler macros redirect the events to member function handlers 'func' with prototypes like:
Event macros:
wxEVT_SET_CURSOR event. Public Member Functions | |
| wxSetCursorEvent (wxCoord x=0, wxCoord y=0) | |
| Constructor, used by the library itself internally to initialize the event object. | |
| const wxCursor & | GetCursor () const |
| Returns a reference to the cursor specified by this event. | |
| wxCoord | GetX () const |
| Returns the X coordinate of the mouse in client coordinates. | |
| wxCoord | GetY () const |
| Returns the Y coordinate of the mouse in client coordinates. | |
| bool | HasCursor () const |
| Returns true if the cursor specified by this event is a valid cursor. | |
| void | SetCursor (const wxCursor &cursor) |
| Sets the cursor associated with this event. | |
Constructor, used by the library itself internally to initialize the event object.
| const wxCursor& wxSetCursorEvent::GetCursor | ( | ) | const |
Returns a reference to the cursor specified by this event.
| wxCoord wxSetCursorEvent::GetX | ( | ) | const |
Returns the X coordinate of the mouse in client coordinates.
| wxCoord wxSetCursorEvent::GetY | ( | ) | const |
Returns the Y coordinate of the mouse in client coordinates.
| bool wxSetCursorEvent::HasCursor | ( | ) | const |
Returns true if the cursor specified by this event is a valid cursor.
| void wxSetCursorEvent::SetCursor | ( | const wxCursor & | cursor | ) |
Sets the cursor associated with this event.