Method

GtkIconFactorylookup

deprecated: 3.10 

Declaration [src]

GtkIconSet*
gtk_icon_factory_lookup (
  GtkIconFactory* factory,
  const gchar* stock_id
)

Description [src]

Looks up stock_id in the icon factory, returning an icon set if found, otherwise NULL. For display to the user, you should use gtk_style_lookup_icon_set() on the GtkStyle for the widget that will display the icon, instead of using this function directly, so that themes are taken into account.

Deprecated since: 3.10

Use GtkIconTheme instead.

Parameters

stock_id

Type: const gchar*

An icon name.

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

Return value

Type: GtkIconSet

Icon set of stock_id.

The returned data is owned by the instance.