Skip to main content

tooltip

Function tooltip 

Source
pub fn tooltip(ui: &mut Ui, response: &Response, text: impl Into<String>)
Expand description

Helper function to show a simple tooltip on any UI element

ยงExample

use armas_basic::tooltip;

let response = ui.button("Hover me");
tooltip(ui, &response, "This is a tooltip!");