Toast.setTitle

void setTitle(string title)

Sets the title that will be displayed on the toast.

The title can be marked up with the Pango text markup language.

Setting a title will unset adw.toast.Toast.customTitle.

If adw.toast.Toast.customTitle is set, it will be used instead.

Parameters

titlea title