zng::tip

Function tooltip_delay

source
pub fn tooltip_delay(
    child: impl UiNode,
    delay: impl IntoVar<Duration>,
) -> impl UiNode
Expand description

P Set the duration the cursor must be over the widget or its descendants before the tip widget is opened.

This delay applies when no other tooltip was opened within the tooltip_interval duration, otherwise the tooltip opens instantly.

This property sets the TOOLTIP_DELAY_VAR.