back to gui
wxCursor
generated from ../src/mod_gui/misc/cursor.cpp
A cursor is a small bitmap usually used for denoting where the mouse pointer is,
with a picture that might indicate the interpretation of a mouse click.
As with icons, cursors in X and MS Windows are created in a different manner.
Therefore, separate cursors will be created for the different environments.
Platform-specific methods for creating a wxCursor object are catered for, and
this is an occasion where conditional compilation will probably be required
(see wxIcon for an example).
Constants
Constructor
wxCursor
wxCursor()
wxCursor(Name,
Type,
HotSpotX = 0,
HotSpotY = 0)
| Name |
Type |
Default |
Description |
| Name |
String |
|
|
| Type |
Integer |
|
|
| HotSpotX |
Integer |
0 |
|
| HotSpotY |
Integer |
0 |
|
wxCursor(Id)
| Name |
Type |
Default |
Description |
| Id |
Integer |
|
|
wxCursor(Image)
| Name |
Type |
Default |
Description |
| Image |
wxImage |
|
|
Creates a new wxCursor object