Button.setIconName

void setIconName(string iconName)

Adds a [gtk.image.Image] with the given icon name as a child.

If button already contains a child widget, that child widget will be removed and replaced with the image.

Parameters

iconNameAn icon name