Toast.priority

adw.types.ToastPriority priority() @property

Get priority property.

Returns

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.

void priority(adw.types.ToastPriority propval) @property

Set priority property.

Parameters

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