Adw.ToastOverlay.add_toast

### Method

# Adw ToastOverlayadd_toast

since: 1.0

#### Declaration [src]

    void
    adw_toast_overlay_add_toast (
      AdwToastOverlay* self,
      AdwToast* toast
    )

#### Description [src]

Displays `toast`.

Only one toast can be shown at a time; if a toast is already being displayed, either `toast` or the original toast will be placed in a queue, depending on the priority of `toast`. See `AdwToast:priority`.

Available since: 1.0

#### Parameters

`toast`

  Type: `AdwToast`

  A toast.

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