Image.newFromGicon

gtk.image.Image newFromGicon(gio.icon.Icon icon)

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.

Parameters

iconan icon

Returns

a new gtk.image.Image displaying the themed icon