FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    NativeDock

    struct · ferroui-controls · v0.5.0

    struct NativeDock
    

    Allows native menu support on platforms where a NativeMenu can be attached to the dock.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this type.

    Source

    menu_property

    fn menu_property() -> &'static AttachedProperty<Option<Ref<NativeMenu>>>
    

    Defines the Menu attached property.

    Source

    set_menu

    fn set_menu(o: &FerroObject, menu: Option<Ref<NativeMenu>>)
    

    Sets the value of the attached menu_property.

    Source

    get_menu

    fn get_menu(o: &FerroObject) -> Option<Ref<NativeMenu>>
    

    Gets the value of the attached menu_property.

    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.