pub struct HotKeyManager;Expand description
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.
Implementations§
Source§impl HotKeyManager
impl HotKeyManager
Source§impl HotKeyManager
impl HotKeyManager
Sourcepub fn hot_key_property() -> &'static AttachedProperty<Option<KeyGesture>>
pub fn hot_key_property() -> &'static AttachedProperty<Option<KeyGesture>>
Defines the HotKey attached property.
Source§impl HotKeyManager
impl HotKeyManager
Sourcepub fn set_hot_key(target: &FerroObject, value: Option<KeyGesture>)
pub fn set_hot_key(target: &FerroObject, value: Option<KeyGesture>)
Sets the value of the HotKey attached property on an object.
Sourcepub fn get_hot_key(target: &FerroObject) -> Option<KeyGesture>
pub fn get_hot_key(target: &FerroObject) -> Option<KeyGesture>
Gets the value of the HotKey attached property on an object.
Trait Implementations§
Source§impl StaticType for HotKeyManager
impl StaticType for HotKeyManager
Auto Trait Implementations§
impl Freeze for HotKeyManager
impl RefUnwindSafe for HotKeyManager
impl Send for HotKeyManager
impl Sync for HotKeyManager
impl Unpin for HotKeyManager
impl UnsafeUnpin for HotKeyManager
impl UnwindSafe for HotKeyManager
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more