Function

GtkIconFactorylookup_default

deprecated: 3.10 

Declaration [src]

GtkIconSet*
gtk_icon_factory_lookup_default (
  const gchar* stock_id
)

Description [src]

Looks for an icon in the list of default icon factories. 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 function.
The value is a NUL terminated UTF-8 string.

Return value

Type: GtkIconSet

A GtkIconSet, or NULL.

The data is owned by the called function.