IconSet.this

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.

  1. this(GtkIconSet* gtkIconSet)
  2. this()
  3. this(Pixbuf pixbuf)
    class IconSet

Parameters

pixbuf Pixbuf

a GdkPixbuf

Throws

ConstructionException GTK+ fails to create the object.

Meta