Banner.setButtonLabel

void setButtonLabel(string label = null)

Sets the button label for self.

If set to `""` or NULL, the button won't be shown.

The button can be used with a gio.action.Action, or with the adw.banner.Banner.buttonClicked signal.

Parameters

labelthe label