FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    NativeMenuItemBase

    struct · ferroui-controls · v0.5.0

    struct NativeMenuItemBase
    

    The base class of the items of a NativeMenu.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

    fn to_ref(self: &Self) -> $crate::Ref<NativeMenuItemBase>
    

    Returns a strong reference to this object.

    Source

    parent_property

    fn parent_property() -> &'static DirectProperty<NativeMenuItemBase, Option<Ref<NativeMenu>>>
    

    Defines the Parent property.

    Source

    parent

    fn parent(self: &Self) -> Option<Ref<NativeMenu>>
    

    The menu that holds the item.

    Source

    Trait implementations

    Availability

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