pub enum Cursor {
Show 17 variants
Default,
Pointer,
Text,
None,
Forbidden,
Wait,
Progress,
Help,
Precise,
Move,
Grab,
Grabbing,
ResizeColumn,
ResizeRow,
ZoomIn,
ZoomOut,
ContextMenu,
}Expand description
The shape of the system cursor a widget can request for a given sub-region (milestone 205). The shell translates it to the window’s cursor; widgets stay independent of the windowing layer.
Variants§
Default
The default arrow.
Pointer
A hand (a clickable element).
Text
A vertical bar (a text entry area).
None
No cursor at all: it is hidden while over the region (milestone 583).
Forbidden
Something that cannot be done here — a disabled control, a drop that is refused.
Wait
The application is busy and takes no input.
Progress
The application is busy, and still takes input.
Help
Help is available.
Precise
A precise pick: a crosshair.
Move
Something that can be moved.
Grab
Something that can be grabbed and dragged.
Grabbing
Something being dragged.
ResizeColumn
A boundary that moves left and right: a column’s edge.
ResizeRow
A boundary that moves up and down: a row’s edge.
ZoomIn
Zoom in.
ZoomOut
Zoom out.
ContextMenu
A context menu is available.