Constructor

GtkIconInfonew_for_pixbuf

since: 2.14

Declaration [src]

GtkIconInfo*
gtk_icon_info_new_for_pixbuf (
  GtkIconTheme* icon_theme,
  GdkPixbuf* pixbuf
)

Description [src]

Creates a GtkIconInfo for a GdkPixbuf.

Available since: 2.14

Parameters

icon_theme

Type: GtkIconTheme

A GtkIconTheme.

The data is owned by the caller of the function.
pixbuf

Type: GdkPixbuf

The pixbuf to wrap in a GtkIconInfo.

The data is owned by the caller of the function.

Return value

Type: GtkIconInfo

A GtkIconInfo.

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