ToolButton.setLabel

Sets label as the label used for the tool button. The label property only has an effect if not overridden by a non-NULL label-widget property. If both the label-widget and label properties are NULL, the label is determined by the stock-id property. If the stock-id property is also NULL, button will not have a label.

class ToolButton
void
setLabel
(
string label
)

Parameters

label string

a string that will be used as label, or NULL.

Meta