Skip to main content

toolbar_tooltip

Function toolbar_tooltip 

Source
pub fn toolbar_tooltip(
    response: Response,
    text: &str,
    shortcut: Option<KeyboardShortcut>,
) -> Response
Expand description

Attach a compact toolbar tooltip, with optional platform-specific shortcut chips.

Uses the normal hover delay and stays below the trigger while there is room.