# X11Properties

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-controls/platform/struct-x11properties/

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

```rust
struct X11Properties
```

Set of X11 specific attached properties that allow deeper customization
of the application per platform.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/platform/x11_properties.rs#L11)

## Members

- [`TYPE`](#assoc_const-type)
- [`net_wm_window_type_property`](#function-net_wm_window_type_property)
- [`wm_class_property`](#function-wm_class_property)
- [`set_net_wm_window_type`](#function-set_net_wm_window_type)
- [`get_net_wm_window_type`](#function-get_net_wm_window_type)
- [`set_wm_class`](#function-set_wm_class)
- [`get_wm_class`](#function-get_wm_class)

<a id="assoc_const-type"></a>

### TYPE

```rust
const TYPE: &'static $crate::TypeInfo
```

The runtime type of this type.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/platform/x11_properties.rs#L13)

<a id="function-net_wm_window_type_property"></a>

### net_wm_window_type_property

```rust
fn net_wm_window_type_property() -> &'static AttachedProperty<X11NetWmWindowType>
```

Defines the `NetWmWindowType` attached property: the window type
hint of the window.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/platform/x11_properties.rs#L15)

<a id="function-wm_class_property"></a>

### wm_class_property

```rust
fn wm_class_property() -> &'static AttachedProperty<Option<String>>
```

Defines the `WmClass` attached property: the window class of
the window.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/platform/x11_properties.rs#L15)

<a id="function-set_net_wm_window_type"></a>

### set_net_wm_window_type

```rust
fn set_net_wm_window_type(obj: &Window, value: X11NetWmWindowType)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/platform/x11_properties.rs#L37)

<a id="function-get_net_wm_window_type"></a>

### get_net_wm_window_type

```rust
fn get_net_wm_window_type(obj: &Window) -> X11NetWmWindowType
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/platform/x11_properties.rs#L41)

<a id="function-set_wm_class"></a>

### set_wm_class

```rust
fn set_wm_class(obj: &Window, value: Option<String>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/platform/x11_properties.rs#L45)

<a id="function-get_wm_class"></a>

### get_wm_class

```rust
fn get_wm_class(obj: &Window) -> Option<String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/platform/x11_properties.rs#L49)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- [`StaticType`](/docs/0.5.0/api/ferroui-base/trait-statictype/)

## Availability

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