Toast.setPriority

void setPriority(adw.types.ToastPriority priority)

Sets priority for self.

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

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

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

Parameters

prioritythe priority