Granite.Widgets.Toast.set_default_action – granite Reference Manual
set_default_action
Description:
public
void
set_default_action
(
string
? label)
Sets the default action button label of #this to #label and hides the button if #label is #null.
2022 vala-language.org