Gtk.IconSet.new
function new():Gtk.IconSet { // Gjs wrapper for gtk_icon_set_new() }
Creates a new Gtk.IconSet. A Gtk.IconSet represents a single icon in various sizes and widget states. It can provide a GdkPixbuf.Pixbuf for a given size and state on request, and automatically caches some of the rendered GdkPixbuf.Pixbuf objects.
Normally you would use render_icon_pixbuf instead of using Gtk.IconSet directly. The one case where you'd use Gtk.IconSet is to create application-specific icon sets to place in a Gtk.IconFactory.
- Returns
a new Gtk.IconSet