Toast.priority

Get priority property.

  1. adw.types.ToastPriority priority [@property getter]
    class Toast
    @property
    priority
    ()
  2. adw.types.ToastPriority priority [@property setter]

Return Value

Type: adw.types.ToastPriority

The priority of the toast.

Priority controls how the toast behaves when another toast is already being displayed.

If the priority is adw.types.ToastPriority.Normal, the toast will be queued.

If the priority is adw.types.ToastPriority.High, the toast will be displayed immediately, pushing the previous toast into the queue instead.