Expander.setLabel

void setLabel(string label = null)

Sets the text of the label of the expander to label.

This will also clear any previously set labels.

Parameters

labela string