iced::advanced::widget::operation::focusable

Function focus_previous

pub fn focus_previous<T>() -> impl Operation<T>
where T: Send + 'static,
Available on crate feature advanced only.
Expand description

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

  • if found, focuses the previous focusable widget.
  • if not found, focuses the last focusable widget.