setLabel

open fun setLabel(label: String)

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

This will also clear any previously set labels.

Parameters

label

a string