cosmic::iced_core::widget::operation::focusable

Function focus_next

source
pub fn focus_next<T>() -> impl Operation<T>
where T: Send + 'static,
Expand description

Produces an Operation that searches for the current focused widget, and

  • if found, focuses the next focusable widget.
  • if not found, focuses the first focusable widget.