zng::gesture

Function is_cap_hovered

source
pub fn is_cap_hovered(
    child: impl UiNode,
    state: impl IntoVar<bool>,
) -> impl UiNode
Expand description

P If the mouse pointer is over the widget, or a descendant, or is captured by the it.

The value is always false when the widget is not ENABLED.