Enumeration Casemigueldeicaza.swiftgodot 0.45.0SwiftGodot
wait
Wait cursor. On most cursor themes, this displays a spinning icon besides the arrow. Intended to be used for non-blocking operations (when the user can do something else at the moment). See also .cursorBusy.
DisplayServer.swift:203case wait
Other cases
case arrow
Arrow cursor shape. This is the default when not pointing anything that overrides the mouse cursor, such as a
LineEdit
orTextEdit
.case ibeam
I-beam cursor shape. This is used by default when hovering a control that accepts text input, such as
LineEdit
orTextEdit
.case pointingHand
Pointing hand cursor shape. This is used by default when hovering a
LinkButton
or a URL tag in aRichTextLabel
.case cross
Crosshair cursor. This is intended to be displayed when the user needs precise aim over an element, such as a rectangle selection tool or a color picker.
case busy
Wait cursor. On most cursor themes, this replaces the arrow with a spinning icon. Intended to be used for blocking operations (when the user can’t do anything else at the moment). See also .cursorWait.
case drag
Dragging hand cursor. This is displayed during drag-and-drop operations. See also .cursorCanDrop.
case canDrop
“Can drop” cursor. This is displayed during drag-and-drop operations if hovering over a
Control
that can accept the drag-and-drop event. On most cursor themes, this displays a dragging hand with an arrow symbol besides it. See also .cursorDrag.case forbidden
Forbidden cursor. This is displayed during drag-and-drop operations if the hovered
Control
can’t accept the drag-and-drop event.case vsize
Vertical resize cursor. Intended to be displayed when the hovered
Control
can be vertically resized using the mouse. See also .cursorVsplit.case hsize
Horizontal resize cursor. Intended to be displayed when the hovered
Control
can be horizontally resized using the mouse. See also .cursorHsplit.case bdiagsize
Secondary diagonal resize cursor (top-right/bottom-left). Intended to be displayed when the hovered
Control
can be resized on both axes at once using the mouse.case fdiagsize
Main diagonal resize cursor (top-left/bottom-right). Intended to be displayed when the hovered
Control
can be resized on both axes at once using the mouse.case move
Move cursor. Intended to be displayed when the hovered
Control
can be moved using the mouse.case vsplit
Vertical split cursor. This is displayed when hovering a
Control
with splits that can be vertically resized using the mouse, such asVSplitContainer
. On some cursor themes, this cursor may have the same appearance as .cursorVsize.case hsplit
Horizontal split cursor. This is displayed when hovering a
Control
with splits that can be horizontally resized using the mouse, such asHSplitContainer
. On some cursor themes, this cursor may have the same appearance as .cursorHsize.case help
Help cursor. On most cursor themes, this displays a question mark icon instead of the mouse cursor. Intended to be used when the user has requested help on the next element that will be clicked.
case max
Represents the size of the
CursorShape
enum.