Button.this

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. This function is a convenience wrapper around gtk_button_new() and gtk_button_set_image().

Parameters

iconName string

an icon name

size GtkIconSize

an icon size. [type int]

Throws

ConstructionException GTK+ fails to create the object.

Meta