# MacOSPlatformOptions

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-native/struct-macosplatformoptions/

**struct** · [`ferroui-native`](/docs/0.5.0/api/ferroui-native/) · v0.5.0

```rust
struct MacOSPlatformOptions
```

OSX front-end options.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Native/ferro_native_platform_extensions.rs#L103)

## Members

- [`show_in_dock`](#struct_field-show_in_dock)
- [`disable_default_application_menu_items`](#struct_field-disable_default_application_menu_items)
- [`disable_native_menus`](#struct_field-disable_native_menus)
- [`disable_set_process_name`](#struct_field-disable_set_process_name)
- [`disable_ferro_app_delegate`](#struct_field-disable_ferro_app_delegate)

<a id="struct_field-show_in_dock"></a>

### show_in_dock

```rust
show_in_dock: bool
```

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

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Native/ferro_native_platform_extensions.rs#L106)

<a id="struct_field-disable_default_application_menu_items"></a>

### disable_default_application_menu_items

```rust
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](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Native/ferro_native_platform_extensions.rs#L111)

<a id="struct_field-disable_native_menus"></a>

### disable_native_menus

```rust
disable_native_menus: bool
```

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

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Native/ferro_native_platform_extensions.rs#L115)

<a id="struct_field-disable_set_process_name"></a>

### disable_set_process_name

```rust
disable_set_process_name: bool
```

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

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Native/ferro_native_platform_extensions.rs#L119)

<a id="struct_field-disable_ferro_app_delegate"></a>

### disable_ferro_app_delegate

```rust
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](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Native/ferro_native_platform_extensions.rs#L124)

## 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`](/docs/0.5.0/api/ferroui-base/trait-propertyvalue/)
- [`AnyValue`](/docs/0.5.0/api/ferroui-base/trait-anyvalue/)
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- `IUnknownImpl`
- `Clone`
- `Debug`
- `StructuralPartialEq`
- `PartialEq`
- `Eq`
- `Default`

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
