Package: gtk

Function gtk:icon-set-new

Lambda List

gtk:icon-set-new ()

Return Value

The new gtk:icon-set instance.

Details

Creates a new icon set. A icon set represents a single icon in various sizes and widget states. It can provide a gdk-pixbuf:pixbuf object for a given size and state on request, and automatically caches some of the rendered gdk-pixbuf:pixbuf objects.

Normally you would use the gtk:widget-render-icon-pixbuf function instead of using a gtk:icon-set instance directly. The one case where you would use a gtk:icon-set instance is to create application specific icon sets to place in a gtk:icon-factory object.

Warning

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

See also

#2023-3-27