Image.newFromGicon

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
newFromGicon

Parameters

icon gio.icon.Icon

an icon

Return Value

Type: gtk.image.Image

a new gtk.image.Image displaying the themed icon