Function zng::focus::is_focus_within_hgl
source ยท pub fn is_focus_within_hgl(
child: impl UiNode,
state: impl IntoVar<bool>,
) -> impl UiNode
Expand description
P
If the widget or one of its descendants has keyboard focus and the user is using the keyboard to navigate.
To check if only the widget has keyboard focus use is_focused_hgl
.
Also see is_focus_within
to check if the widget has focus within regardless of highlighting.