ltk

Function tooltip

Source
pub fn tooltip<Msg: Clone + 'static>(
    message: impl Into<String>,
    anchor_id: WidgetId,
) -> Tooltip<Msg>
Expand description

Create a Tooltip anchored to the widget tagged with anchor_id.

tooltip( "Click to save", WidgetId( "btn/save" ) )
    .max_width( 240 )
    .overlay()