Image.this

Creates a gtk.Image 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

iconName string

an icon name or NULL

size GtkIconSize

a stock icon size (gtk.IconSize)

Return Value

a new gtk.Image displaying the themed icon

Throws

ConstructionException GTK+ fails to create the object.

Meta