Method

GtkImageset_from_stock

deprecated: 3.10 

Declaration [src]

void
gtk_image_set_from_stock (
  GtkImage* image,
  const gchar* stock_id,
  GtkIconSize size
)

Description [src]

See gtk_image_new_from_stock() for details.

Deprecated since: 3.10

Use gtk_image_set_from_icon_name() instead.

Parameters

stock_id

Type: const gchar*

A stock icon name.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
size

Type: GtkIconSize

A stock icon size (GtkIconSize).