Method

GtkStyleContextlookup_icon_set

Declaration [src]

GtkIconSet*
gtk_style_context_lookup_icon_set (
  GtkStyleContext* context,
  const gchar* stock_id
)

Description [src]

Looks up stock_id in the icon factories associated to context and the default icon factory, returning an icon set if found, otherwise NULL.

Deprecated since:3.10

Use gtk_icon_theme_lookup_icon() instead.

Parameters

stock_id const gchar*
 

An icon name.

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

Return value

Returns: GtkIconSet
 

The looked up %GtkIconSet, or NULL.

 The data is owned by the instance.
 The return value can be NULL.