[ CCode ( has_construct_function = false ) ]
public IconSet.from_pixbuf (Pixbuf pixbuf)
Creates a new IconSet with pixbuf
as the default/fallback source image.
Use IconTheme instead.
If you don’t add any additional IconSource to the icon set, all variants of the icon
will be created from pixbuf
, using scaling, pixelation, etc. as required to adjust the icon size or make the icon look
insensitive/prelighted.
pixbuf |
a Pixbuf |
a new IconSet |