IconSet.newFromPixbuf

Creates a new #GtkIconSet with pixbuf as the default/fallback source image. If you don’t add any additional #GtkIconSource 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.

More...
class IconSet
static
newFromPixbuf

Parameters

pixbuf gdkpixbuf.pixbuf.Pixbuf

a #GdkPixbuf

Return Value

Type: gtk.icon_set.IconSet

a new #GtkIconSet

Detailed Description

Deprecated: Use #GtkIconTheme instead.