iced_core::widget::operation::focusable

Function focus_previous

source
pub fn focus_previous<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 previous focusable widget.
  • if not found, focuses the last focusable widget.