GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
wxSetCursorEvent(3) Erlang Module Definition wxSetCursorEvent(3)

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.

wxSetCursorEvent() = wx:wx_object()

wxSetCursor() = 
    #wxSetCursor{type = wxSetCursorEvent:wxSetCursorEventType(),
                 x = integer(),
                 y = integer(),
                 cursor = wxCursor:wxCursor()}

wxSetCursorEventType() = set_cursor

getCursor(This) -> wxCursor:wxCursor()


Types:

This = wxSetCursorEvent()

Returns a reference to the cursor specified by this event.

getX(This) -> integer()


Types:

This = wxSetCursorEvent()

Returns the X coordinate of the mouse in client coordinates.

getY(This) -> integer()


Types:

This = wxSetCursorEvent()

Returns the Y coordinate of the mouse in client coordinates.

hasCursor(This) -> boolean()


Types:

This = wxSetCursorEvent()

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.

setCursor(This, Cursor) -> ok


Types:

This = wxSetCursorEvent()
Cursor = wxCursor:wxCursor()

Sets the cursor associated with this event.

wx 2.1.1 wxWidgets team.

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.