IconSet.this

Warning gtk_icon_set_new_from_pixbuf has been deprecated since version 3.10 and should not be used in newly-written code. Use GtkIconTheme instead. 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