Package: gtk

Function gtk-icon-set-new-from-pixbuf

Lambda List

gtk-icon-set-new-from-pixbuf (pixbuf)

Arguments

pixbuf -- a gdk-pixbuf object

Return Value

A new gtk-icon-set instance.

Details

Creates a new icon set with pixbuf as the default/fallback source image. If you do not add any additional gtk-icon-source instance 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.

Warning

The function gtk-icon-set-new-from-pixbuf has been deprecated since version 3.10 and should not be used in newly written code. Use the gtk-icon-theme class instead.
 

See also

*2021-7-24