newFromIconName

fun newFromIconName(iconName: String): Button

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.

Return

a new GtkButton displaying the themed icon

Parameters

iconName

an icon name