IconSet.from_pixbuf
Description:
Creates a new IconSet with pixbuf
as the default/fallback source image.
Note:
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.
Parameters:
pixbuf |
a Pixbuf |
Returns:
a new IconSet |