wxSetCursorEvent

wxSetCursorEvent

wxSetCursorEvent
Functions for wxSetCursorEvent class

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 setCursor/2 to specify the cursor you want to be displayed.

See: wx_misc:setCursor/1, wxWindow:setCursor/2

This class is derived (and can use functions) from: wxEvent

wxWidgets docs: wxSetCursorEvent

Use wxEvtHandler:connect/3 with wxSetCursorEventType to subscribe to events of this type.

Types

Returns true if the cursor specified by this event is a valid cursor.

Remark: You cannot specify wxNullCursor with this event, as it is not considered a valid cursor.