Button.setLabel

Sets the text of the label of the button to @str. This text is also used to select the stock item if gtk_button_set_use_stock() is used.

This will also clear any previously set labels.

class Button
void
setLabel
(
string label
)

Parameters

label string

a string

Meta