Function

GtkIconSetnew

deprecated: 3.10 

Declaration [src]

GtkIconSet*
gtk_icon_set_new (
  void
)

Description [src]

Creates a new GtkIconSet. A GtkIconSet represents a single icon in various sizes and widget states. It can provide a GdkPixbuf for a given size and state on request, and automatically caches some of the rendered GdkPixbuf objects.

Normally you would use gtk_widget_render_icon_pixbuf() instead of using GtkIconSet directly. The one case where you’d use GtkIconSet is to create application-specific icon sets to place in a GtkIconFactory.

Deprecated since: 3.10

Use GtkIconTheme instead.

Return value

Type: GtkIconSet

A new GtkIconSet.

The caller of the function takes ownership of the data, and is responsible for freeing it.