Image.newFromIconName

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

class Image
static
newFromIconName
(
string iconName = null
)

Parameters

iconName string

an icon name

Return Value

Type: gtk.image.Image

a new gtk.image.Image displaying the themed icon