pub fn tooltip_with(
ui: &mut Ui,
response: &Response,
text: impl Into<String>,
configure: impl FnOnce(Tooltip) -> Tooltip,
)Expand description
Show tooltip with custom configuration
ยงExample
use armas_basic::{tooltip_with, TooltipPosition};
let response = ui.button("Hover me");
tooltip_with(ui, &response, "Custom tooltip", |t| {
t.position(TooltipPosition::Bottom).delay(500)
});