IconTheme.lookupByGicon

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

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

Parameters

icon IconIF

the GIcon to look up

size int

desired icon size

scale int

the desired scale

direction GtkTextDirection

text direction the icon will be displayed in

flags GtkIconLookupFlags

flags modifying the behavior of the icon lookup

Return Value

a GtkIconPaintable containing information about the icon. Unref with g_object_unref()

Meta