lookup_by_gicon


Description:

public IconPaintable lookup_by_gicon (Icon icon, int size, int scale, TextDirection direction, IconLookupFlags flags)

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:

this

a `GtkIconTheme`

icon

the `GIcon` to look up

size

desired icon size

scale

the desired scale

direction

text direction the icon will be displayed in

flags

flags modifying the behavior of the icon lookup

Returns:

a `GtkIconPaintable` containing information about the icon. Unref with unref