Function egui::containers::popup::show_tooltip_for
source · pub fn show_tooltip_for<R>(
ctx: &Context,
id: Id,
rect: &Rect,
add_contents: impl FnOnce(&mut Ui) -> R
) -> Option<R>
Expand description
Show a tooltip under the given area.
If the tooltip does not fit under the area, it tries to place it above it instead.