Image.this

Creates a #GtkImage displaying 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.

Parameters

icon IconIF

an icon

size GtkIconSize

a stock icon size (#GtkIconSize)

Return: a new #GtkImage displaying the themed icon

Throws

ConstructionException GTK+ fails to create the object.

Meta

Since

2.14