.\" This is a wxWidgets manpage page generated from the XML docs .TH wxSetCursorEvent 3wx 2005-02-15 "wxWidgets" "wxWidgets class documentation" .SH NAME wxSetCursorEvent \- .SH DESCRIPTION A SetCursorEvent is generated 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 SetCursor to specify the cursor you want to be displayed. .SH "PARENTS" wxEvent wxObject .SH "INCLUDE FILES" wx/event.h .SH MEMBERS .SS wxSetCursorEvent (wxCoordx = 0wxCoordy = 0) Constructor, used by the library itself internally to initialize the event object. .SS wxCursor& GetCursor () Returns a reference to the cursor specified by this event. .SS wxCoord GetX () Returns the X coordinate of the mouse in client coordinates. .SS wxCoord GetY () Returns the Y coordinate of the mouse in client coordinates. .SS bool HasCursor () Returns true if the cursor specified by this event is a valid cursor. .SS void SetCursor (const wxCursor&cursor) Sets the cursor associated with this event. .SH EVENTS .SS EVT_SET_CURSOR(func) Process a wxEVT_SET_CURSOR event. .SH "SEE ALSO" wxEvent wxObject ::wxSetCursor wxWindow::wxSetCursor .SH "AUTHORS" Documentation content by Julian Smart, Robert Roebling, Vadim Zeitlin, Robin Dunn, et al Conversion to manpage format by Arnout Engelen (http://bzzt.net), bugreports welcome.