The cursor setting should inform users of the mouse operations that can be performed at the current location, including: text selection, activating help or context menus, copying content, resizing tables, and so on.
You can specify either the type of cursor using a keyword, or load a specific icon to use (with optional fallback images and mandatory keyword as a final fallback).
pub const alias: #(String, String)
pub const all_scroll: #(String, String)
all-scroll value of cursor
pub const auto_: #(String, String)
pub const cell: #(String, String)
pub const col_resize: #(String, String)
col-resize value of cursor
pub const context_menu: #(String, String)
context-menu value of cursor
pub const copy: #(String, String)
pub const crosshair: #(String, String)
crosshair value of cursor
pub const default: #(String, String)
pub const e_resize: #(String, String)
pub const ew_resize: #(String, String)
ew-resize value of cursor
pub const grab: #(String, String)
pub const grabbing: #(String, String)
pub const hand: #(String, String)
pub const help: #(String, String)
pub const inherit: #(String, String)
pub const initial: #(String, String)
pub const move: #(String, String)
pub const n_resize: #(String, String)
pub const ne_resize: #(String, String)
ne-resize value of cursor
pub const nesw_resize: #(String, String)
nesw-resize value of cursor
pub const no_drop: #(String, String)
pub const none: #(String, String)
pub const not_allowed: #(String, String)
not-allowed value of cursor
pub const ns_resize: #(String, String)
ns-resize value of cursor
pub const nw_resize: #(String, String)
nw-resize value of cursor
pub const nwse_resize: #(String, String)
nwse-resize value of cursor
pub const pointer: #(String, String)
pub const progress: #(String, String)
pub fn raw(value: String) -> #(String, String)
Enter a raw string value for cursor
pub const revert: #(String, String)
pub const revert_layer: #(String, String)
pub const row_resize: #(String, String)
row-resize value of cursor
pub const s_resize: #(String, String)
pub const se_resize: #(String, String)
se-resize value of cursor
pub const sw_resize: #(String, String)
sw-resize value of cursor
pub const text: #(String, String)
pub const unset: #(String, String)
pub fn var(variable: String) -> #(String, String)
Enter a variable name to be used for cursor.
It will be wrapped in var() and have -- prepended.
pub const vertical_text: #(String, String)
vertical-text value of cursor
pub const w_resize: #(String, String)
pub const wait: #(String, String)
pub const zoom_in: #(String, String)
pub const zoom_out: #(String, String)