Function tool_hotkey

Source
pub fn tool_hotkey(tool: Tool) -> Option<Key>
Expand description

Single-key shortcut of a tool (used for the tooltips and by handle_hotkeys). The shape tools cycle on Shift+S instead (bare S toggles snapping), so their tooltip is built by hand in show.