Gtk.Button.prototype.set_label
function set_label(label:String):void { // Gjs wrapper for gtk_button_set_label() }
Sets the text of the label of the button to @str. This text is also used to select the stock item if Gtk.set_use_stock is used.
This will also clear any previously set labels.
- label
a string