Adw.PreferencesWindow.add_toast

### Method

# Adw PreferencesWindowadd_toast

#### Declaration [src]

    void
    adw_preferences_window_add_toast (
      AdwPreferencesWindow* self,
      AdwToast* toast
    )

#### Description [src]

Displays `toast`.

See `adw_toast_overlay_add_toast()`.

Deprecated since: | 1.6
Use `AdwPreferencesDialog`.

#### Parameters

`toast` | `AdwToast`
| A toast.
| The instance takes ownership of the data, and is responsible for freeing it.