cosmic
0.1.0
Module focusable
Structs
Traits
Functions
In cosmic::
iced_
runtime::
core::
widget::
operation
Module
cosmic
::
iced_runtime
::
core
::
widget
::
operation
::
focusable
Copy item path
source
·
[
−
]
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
Operation
that generates a
Count
and chains it with the provided function to build a new
Operation
.
find_
focused
Produces an
Operation
that searches for the current focused widget and stores its ID. This ignores widgets that do not have an ID.
focus
Produces an
Operation
that focuses the widget with the given
Id
.
focus_
next
Produces an
Operation
that searches for the current focused widget, and
focus_
previous
Produces an
Operation
that searches for the current focused widget, and