Button.newFromIconName

gtk.button.Button newFromIconName(string iconName)

Creates a new button containing an icon from the current icon theme.

If the icon name isn’t known, a “broken image” icon will be displayed instead. If the current icon theme is changed, the icon will be updated appropriately.

Parameters

iconNamean icon name

Returns

a new [gtk.button.Button] displaying the themed icon