FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    MacOSPlatformOptions

    struct · ferroui-native · v0.5.0

    struct MacOSPlatformOptions
    

    OSX front-end options.

    View source

    Members

    show_in_dock

    show_in_dock: bool
    

    Determines whether to show your application in the dock when it runs. The default value is true.

    Source

    disable_default_application_menu_items

    disable_default_application_menu_items: bool
    

    By default, items like Quit, Hide are added to the OSX Application Menu. You can prevent those items from being added with this property. The default value is false.

    Source

    disable_native_menus

    disable_native_menus: bool
    

    Gets or sets a value indicating whether the native macOS menu bar will be enabled for the application.

    Source

    disable_set_process_name

    disable_set_process_name: bool
    

    Gets or sets a value indicating whether the native macOS should set [NSProcessInfo setProcessName] in runtime.

    Source

    disable_ferro_app_delegate

    disable_ferro_app_delegate: bool
    

    Gets or sets a value indicating whether the backend can install its own AppDelegate. Disabling this can be useful in some scenarios like when running as a plugin inside an existing macOS application.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • PropertyValue
    • AnyValue
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • IUnknownImpl
    • Clone
    • Debug
    • StructuralPartialEq
    • PartialEq
    • Eq
    • Default

    Availability

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