lookup_by_gicon_for_scale


Description:

[ Version ( since = "3.10" ) ]
public IconInfo? lookup_by_gicon_for_scale (Icon icon, int size, int scale, IconLookupFlags flags)

Looks up an icon and returns a IconInfo containing information such as the filename of the icon.

The icon can then be rendered into a pixbuf using load_icon.

Parameters:

this

a IconTheme

icon

the Icon to look up

size

desired icon size

scale

the desired scale

flags

flags modifying the behavior of the icon lookup

Returns:

a IconInfo containing information about the icon, or null if the icon wasn’t found. Unref with unref




2022 vala-language.org