Image.this

Creates a Image displaying a stock icon. Sample stock icon names are StockID.OPEN, StockID.EXIT. Sample stock sizes are IconSize.MENU, IconSize.SMALL_TOOLBAR. If the stock icon name isn't known, the image will be empty. You can register your own stock icon names, see gtk.IconFactory.IconFactory.addDefault() and gtk.IconFactory.IconFactory.add().

Parameters

size GtkIconSize

a stock icon size

Return Value

a new GtkImage displaying the stock icon

Throws

ConstructionException GTK+ fails to create the object.

Meta