Skip to main content

hint

Function hint 

Source
pub fn hint(
    ui: &mut Ui,
    id: Id,
    rect: Rect,
    kind: &str,
    response: &Response,
    panned: bool,
) -> bool
Expand description

The one-time hint on a canvas kind’s first use: shown from the first time the pointer is over the canvas until the first pan (panned) or a click on the canvas or on the hint; then never again for that kind. Whether it shows.