Skip to main content

attach_plain_tooltip_with_placement

Function attach_plain_tooltip_with_placement 

Source
pub fn attach_plain_tooltip_with_placement(
    ctx: &mut BuildContext<'_>,
    anchor_id: WidgetId,
    text: impl Into<LocalizedString>,
    delay: Duration,
    placement: TooltipPlacement,
) -> WidgetId
Expand description

attach_plain_tooltip with an explicit TooltipPlacement — what the widgets that live in a vertical list (menu items, standard items, tab headers) want, so the tip lands beside the row rather than under it.