set_icon_widget


Description:

[ Version ( since = "2.4" ) ]
public void set_icon_widget (Widget? icon_widget)

Sets icon as the widget used as icon on this.

If icon_widget is null the icon is determined by the stock_id property. If the stock_id property is also null, this will not have an icon.

Parameters:

this

a ToolButton

icon_widget

the widget used as icon, or null




2022 vala-language.org