zng::focus

Function focusable

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

P Makes the widget focusable when set to true.