Function egui::containers::popup::show_tooltip_at

source ยท
pub fn show_tooltip_at<R>(
    ctx: &Context,
    parent_layer: LayerId,
    widget_id: Id,
    suggested_position: Pos2,
    add_contents: impl FnOnce(&mut Ui) -> R,
) -> R
Expand description

Show a tooltip at the given position.

Returns None if the tooltip could not be placed.