# INotificationManager

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-controls/notifications/trait-inotificationmanager/

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

```rust
trait INotificationManager
```

Represents a notification manager that can be used to show notifications
in a window or using the host operating system.

Not meant to be implemented outside the framework.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/notifications/i_notification_manager.rs#L8)

## Members

- [`show`](#function-show)
- [`close`](#function-close)
- [`close_all`](#function-close_all)

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

### show

```rust
fn show(self: &Self, notification: Rc<dyn INotification>)
```

Show a notification.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/notifications/i_notification_manager.rs#L10)

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

### close

```rust
fn close(self: &Self, notification: &Rc<dyn INotification>)
```

Closes a notification.

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

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

### close_all

```rust
fn close_all(self: &Self)
```

Closes all notifications.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/notifications/i_notification_manager.rs#L16)

## Availability

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