AdwToastOverlay

A container that displays toast notifications.

Preview

CSS Node Tree

toastoverlay
  ├── [child]
  └── toast

Props

Prop

Type

Behavior

  • Use a toastRef to call addToast() and dismissAll() imperatively.
  • Toasts auto-dismiss after a configurable timeout (default 5s), paused while a toast is hovered, focused or pressed.
  • Adding the toast that's shown again restarts its timeout; adding a queued one moves it to the front.
  • High-priority toasts interrupt the current toast.
  • Escape dismisses the shown toast.

Adwaita Documentation →

On this page