Skip to main content

cursor_icon_to_str

Function cursor_icon_to_str 

Source
pub fn cursor_icon_to_str(icon: &CursorIcon) -> &'static str
Expand description

Map a Smithay CursorIcon to its CSS cursor-name string, used both for themed-cursor lookup and for the name handed to the Python cursor callback; unknown icons fall back to "default".