Skip to main content

attach_rich_tooltip_with_placement

Function attach_rich_tooltip_with_placement 

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

attach_rich_tooltip with an explicit TooltipPlacement — pass Side for anchors stacked vertically (menu items, a vertical tab strip, list/tree rows) so the tooltip opens beside the anchor.