Adw.PreferencesWindow.add_toast

### Method

# Adw PreferencesWindowadd_toast

since: 1.0

#### Declaration [src]

    void
    adw_preferences_window_add_toast (
      AdwPreferencesWindow* self,
      AdwToast* toast
    )

#### Description [src]

Displays `toast`.

See `adw_toast_overlay_add_toast()`.

Available since: 1.0

#### Parameters

`toast`

  Type: `AdwToast`

  A toast.

  The instance takes ownership of the data, and is responsible for freeing it.