setLabel

open fun setLabel(label: String)(source)

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

This will also clear any previously set labels.

Parameters

label

a string