HotKeyManager
struct · ferroui-controls · v0.5.0
struct HotKeyManager
Defines the HotKey attached property: a key gesture that clicks a
control, or executes its command, wherever the keyboard focus is within
the top-level the control is in.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this type.
hot_key_property
fn hot_key_property() -> &'static AttachedProperty<Option<KeyGesture>>
Defines the HotKey attached property.
set_hot_key
fn set_hot_key(target: &FerroObject, value: Option<KeyGesture>)
Sets the value of the HotKey attached property on an object.
get_hot_key
fn get_hot_key(target: &FerroObject) -> Option<KeyGesture>
Gets the value of the HotKey attached property on an object.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyClassDefaultsErasedDestructorIntoEitherStaticType
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.