FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    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.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this type.

    Source

    hot_key_property

    fn hot_key_property() -> &'static AttachedProperty<Option<KeyGesture>>
    

    Defines the HotKey attached property.

    Source

    set_hot_key

    fn set_hot_key(target: &FerroObject, value: Option<KeyGesture>)
    

    Sets the value of the HotKey attached property on an object.

    Source

    get_hot_key

    fn get_hot_key(target: &FerroObject) -> Option<KeyGesture>
    

    Gets the value of the HotKey attached property on an object.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • StaticType

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.