Skip to main content

Module tooltip

Module tooltip 

Source
Expand description

Tooltip โ€” themed hover help attached to any widget Response.

egui already renders tooltips in a framed popover; this wrapper styles the content with the component theme (foreground / muted colors, optional bold title) so it matches the rest of the library. Attach it to whatever a widget returns:

โ“˜
let r = sc::Tooltip::new("Delete this item")
    .attach(ui.add(sc::Button::danger("Delete")));

Structsยง

Tooltip