MacOSPlatformOptions
struct · ferroui-native · v0.5.0
struct MacOSPlatformOptions
OSX front-end options.
Members
show_in_dockdisable_default_application_menu_itemsdisable_native_menusdisable_set_process_namedisable_ferro_app_delegate
show_in_dock
show_in_dock: bool
Determines whether to show your application in the dock when it runs. The default value is true.
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.
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.
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.
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.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedPropertyValueAnyValueClassDefaultsErasedDestructorIntoEitherIUnknownImplCloneDebugStructuralPartialEqPartialEqEqDefault
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.