set_label


Description:

[ Version ( since = "2.4" ) ]
public void set_label (string? label)

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, this will not have a label.

Parameters:

this

a ToolButton

label

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




2022 vala-language.org