Toast.priority

Set priority property.

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

Parameters

propval 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.