Package: gtk

Function gtk-icon-set-new

Lambda List

gtk-icon-set-new ()

Return Value

A 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 object for a given size and state on request, and automatically caches some of the rendered gdk-pixbuf objects.

Normally you would use the function gtk-widget-render-icon-pixbuf 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 function gtk-icon-set-new has been deprecated since version 3.10 and should not be used in newly written code. Use the gtk-icon-theme class instead.
 

See also

2021-7-21