lookup_by_gicon


Description:

[ Version ( since = "2.14" ) ]
public IconInfo? lookup_by_gicon (Icon icon, int size, 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, in application pixels

flags

flags modifying the behavior of the icon lookup

direction

text direction the icon will be displayed in

scale

the desired scale

Returns:

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