set_label_widget


Description:

[ Version ( since = "2.4" ) ]
public void set_label_widget (Widget? label_widget)

Sets label_widget as the widget that will be used as the label for this.

If label_widget is null the label property is used as label. If label is also null, the label in the stock item determined by the stock_id property is used as label. If stock_id is also null, this does not have a label.

Parameters:

this

a ToolButton

label_widget

the widget used as label, or null