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 signalBanner::button-clicked signal.

Parameters

labelthe label