set_icon_name


Description:

[ Version ( since = "2.8" ) ]
public void set_icon_name (string? icon_name)

Sets the icon for the tool button from a named themed icon.

See the docs for IconTheme for more details. The icon_name property only has an effect if not overridden by non- null label_widget, icon_widget and stock_id properties.

Parameters:

this

a ToolButton

icon_name

the name of the themed icon