Skip to main content

set_cursor_icon

Function set_cursor_icon 

Source
pub fn set_cursor_icon(icon: CursorIcon)
Expand description

Set the cursor icon for this frame.

Widgets call this in their MouseMove handler. The cursor is automatically reset to CursorIcon::Default before each mouse-move dispatch.