ButtonContent.setLabel

void setLabel(string label)

Sets the displayed label.

Parameters

labelthe new label