Button.setLabel

void setLabel(string label)

Sets the text of the label of the button to label.

This will also clear any previously set labels.

Parameters

labela string