IconTheme.lookupByGicon

Looks up a icon for a desired size and window scale.

The icon can then be rendered by using it as a gdk.paintable.Paintable, or you can get information such as the filename and size.

Parameters

icon gio.icon.Icon

the gio.icon.Icon to look up

size int

desired icon size

scale int

the desired scale

direction gtk.types.TextDirection

text direction the icon will be displayed in

flags gtk.types.IconLookupFlags

flags modifying the behavior of the icon lookup

Return Value

Type: gtk.icon_paintable.IconPaintable

a gtk.icon_paintable.IconPaintable containing information about the icon. Unref with gobject.object.ObjectG.unref