Button.setIconName

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.

class Button
void
setIconName
(
string iconName
)

Parameters

iconName string

An icon name