ButtonContent.setIconName

void setIconName(string iconName)

Sets the name of the displayed icon.

If empty, the icon is not shown.

Parameters

iconNamethe new icon name