IKeyboardNavigationHandler
trait · ferroui-base · v0.5.0
trait IKeyboardNavigationHandler
Defines the interface for classes that handle keyboard navigation for a window.
Members
set_owner
fn set_owner(self: &Self, owner: &Ref<InputElement>)
Sets the owner of the keyboard navigation handler.
This method can only be called once, typically by the owner itself on creation.
move_
fn move_(self: &Self, element: Option<&Ref<InputElement>>, direction: NavigationDirection, key_modifiers: KeyModifiers, device_type: Option<KeyDeviceType>) -> bool
Moves the focus in the specified direction.
element is the current element, key_modifiers any key modifiers
active at the time of focus and device_type the optional key
device type that caused the move.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.