Module focusable
Available on crate feature
advanced only.Expand description
Operate on widgets that can be focused.
Structs§
- Count
- A summary of the focusable widgets present on a widget tree.
Traits§
- Focusable
- The internal state of a widget that can be focused.
Functions§
- count
- Produces an
Operationthat generates aCountand chains it with the provided function to build a newOperation. - find_
focused - Produces an
Operationthat searches for the current focused widget and stores its ID. This ignores widgets that do not have an ID. - focus
- Produces an
Operationthat focuses the widget with the givenId. - focus_
next - Produces an
Operationthat searches for the current focused widget, and - focus_
previous - Produces an
Operationthat searches for the current focused widget, and - is_
focused - Produces an
Operationthat searches for the focusable widget and stores whether it is focused or not. This ignores widgets that do not have an ID. - unfocus
- Produces an
Operationthat unfocuses the focused widget.