public final class CursorType
extends org.freedesktop.bindings.Flag
The "normal" Cursor is LEFT_PTR
. That's the one you want
to switch back to if you've changed the Cursor to something exceptional.
The fact that "cursor" is used to name this class and the Cursor class which manipulates them is a bit strange seeing as how the term used in user interface design for the thing where your mouse is indicating is "pointer".
It was quite tempting to mess with the constant names here; after all
LEFT_PTR
is a poor substitute for "normal", but that would
screw up the algorithmic mapping of the underlying library that we have
worked so hard to maintain. The names are less than ideal in GDK, but so be
it..
Modifier and Type | Field and Description |
---|---|
static CursorType |
BOTTOM_LEFT_CORNER
This Cursor is typically used with Widgets whose size can be changed
manually when the mouse pointer is near the bottom left corner of the
Widget.
|
static CursorType |
BOTTOM_RIGHT_CORNER
This Cursor is typically used with Widgets whose size can be changed
manually when the mouse pointer is near the bottom right corner of the
Widget.
|
static CursorType |
BOTTOM_SIDE
This Cursor is typically used with Widgets whose size can be changed
manually when the mouse pointer is near the bottom side of the Widget.
|
static CursorType |
FLEUR
The Cursor used to indicate a "move" operation.
|
static CursorType |
HAND1
The hand, open.
|
static CursorType |
HAND2
The hand, index finger pointing.
|
static CursorType |
LEFT_PTR
The standard arrow pointer used by default for most user interface
purposes.
|
static CursorType |
LEFT_SIDE
This Cursor is typically used with Widgets whose size can be changed
manually when the mouse pointer is near the left side of the Widget.
|
static CursorType |
RIGHT_SIDE
This Cursor is typically used with Widgets whose size can be changed
manually when the mouse pointer is near the right side of the Widget.
|
static CursorType |
TOP_LEFT_CORNER
This Cursor is typically used with Widgets whose size can be changed
manually when the mouse pointer is near the top left corner of the
Widget.
|
static CursorType |
TOP_RIGHT_CORNER
This Cursor is typically used with Widgets whose size can be changed
manually when the mouse pointer is near the top right corner of the
Widget.
|
static CursorType |
TOP_SIDE
This Cursor is typically used with Widgets whose size can be changed
manually when the mouse pointer is near the top side of the Widget.
|
static CursorType |
WATCH
This is the cursor you change to when you want to show that the
application is "busy"; be aware that different themes shipped by
various Linux distributions override it in many different ways.
|
static CursorType |
XTERM
This is the standard "text" Cursor, used in Widgets which display or
edit text such as Entry and TextView.
|
public static final CursorType BOTTOM_LEFT_CORNER
public static final CursorType BOTTOM_RIGHT_CORNER
public static final CursorType BOTTOM_SIDE
public static final CursorType FLEUR
public static final CursorType HAND1
public static final CursorType HAND2
public static final CursorType LEFT_PTR
WATCH
as the "busy" pointer.public static final CursorType LEFT_SIDE
public static final CursorType RIGHT_SIDE
public static final CursorType TOP_LEFT_CORNER
public static final CursorType TOP_RIGHT_CORNER
public static final CursorType TOP_SIDE
public static final CursorType WATCH
public static final CursorType XTERM