Egui::CursorIcon
Inherits Enum < Comparable < Value < Object
Constants
Default = 0
None = 1
ContextMenu = 2
Links and status:
Help = 3
Pointer = 4
Pointing hand, used for e.g. web links (CSS pointer).
Progress = 5
Wait = 6
Cell = 7
Selection:
Crosshair = 8
Text = 9
VerticalText = 10
Alias = 11
Drag-and-drop:
Copy = 12
Move = 13
NoDrop = 14
NotAllowed = 15
Grab = 16
Grabbing = 17
AllScroll = 18
EwResize = 19
Resizing in two directions (CSS ew-resize, nesw-resize, …):
NeswResize = 20
NwseResize = 21
NsResize = 22
EResize = 23
Resizing in one direction:
SeResize = 24
SResize = 25
SwResize = 26
WResize = 27
NwResize = 28
NResize = 29
NeResize = 30
ColResize = 31
Column/row resizing (CSS col-resize, row-resize):
RowResize = 32
ZoomIn = 33
Zooming:
ZoomOut = 34
Class methods
parse?(name : String) : CursorIcon | Nil
Parse a CSS cursor keyword ("pointer", "ew-resize", …).
Returns nil for unknown names; auto/inherit/unset map to
Default (the platform's own choice).
Instance methods
to_css
The CSS cursor keyword (kebab-case — what CSS and Xcursor
themes both use as the cursor name).