Expand description
Tooltips display a hint of information over some element when hovered.
§Example
use iced::widget::{container, tooltip};
enum Message {
    // ...
}
fn view(_state: &State) -> Element<'_, Message> {
    tooltip(
        "Hover me to display the tooltip!",
        container("This is the tooltip contents!")
            .padding(10)
            .style(container::rounded_box),
        tooltip::Position::Bottom,
    ).into()
}Structs§
- Tooltip
 - An element to display a widget over another.
 
Enums§
- Position
 - The position of the tooltip. Defaults to following the cursor.