Button.setLabel

Sets the text of the label of the button to str. This text is also used to select the stock item if Button.setUseStock is used.

This will also clear any previously set labels.

class Button
void
setLabel
(
string label
)

Parameters

label string

a string