Method
AdapToastOverlayadd_toast
Declaration [src]
void
adap_toast_overlay_add_toast (
AdapToastOverlay* self,
AdapToast* toast
)
Description [src]
Displays toast
.
Only one toast can be shown at a time; if a toast is already being displayed,
either toast
or the original toast will be placed in a queue, depending on
the priority of toast
. See AdapToast:priority
.
If called on a toast that’s already displayed, its timeout will be reset.
If called on a toast currently in the queue, the toast will be bumped forward to be shown as soon as possible.
Parameters
toast
-
Type:
AdapToast
A toast.
The instance takes ownership of the data, and is responsible for freeing it.