set_icon_name


Description:

public void set_icon_name (string? icon_name)

Sets the icon-name used to display an icon on the button.

Setting null will remove the icon name, or resort to the icon-name set in the current style. Setting an icon name overrides any icon set in the style.

Parameters:

this

a Button

icon_name

icon-name to use on the button




2022 vala-language.org