Skip to main content

hint

Function hint 

Source
pub fn hint(
    map: &PointerMap,
    scope: &str,
    modifiers: Modifiers,
    word: impl Fn(&CommandId) -> Option<String>,
) -> String
Expand description

What the pointer does in a scope with these modifiers held, for a canvas’s hint: Wheel: zoom · MiddleDrag: pan, each gesture by its name and its command by word (none: left out). Clicks and drags of other buttons than these are left out too.