Enum i_slint_core::input::FocusEvent
source · #[repr(C)]
pub enum FocusEvent {
FocusIn,
FocusOut,
WindowReceivedFocus,
WindowLostFocus,
}Expand description
This event is sent to a component and items when they receive or loose the keyboard focus.
Variants§
FocusIn
This event is sent when an item receives the focus.
FocusOut
This event is sent when an item looses the focus.
WindowReceivedFocus
This event is sent when the window receives the keyboard focus.
WindowLostFocus
This event is sent when the window looses the keyboard focus.
Trait Implementations§
source§impl Clone for FocusEvent
impl Clone for FocusEvent
source§fn clone(&self) -> FocusEvent
fn clone(&self) -> FocusEvent
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more