Trait cosmic::iced_widget::renderer::graphics::core::widget::operation::focusable::Focusable
source · pub trait Focusable {
// Required methods
fn is_focused(&self) -> bool;
fn focus(&mut self);
fn unfocus(&mut self);
}
Expand description
The internal state of a widget that can be focused.
Required Methods§
sourcefn is_focused(&self) -> bool
fn is_focused(&self) -> bool
Returns whether the widget is focused or not.