StyleContext.lookupIconSet

Warning gtk_style_context_lookup_icon_set has been deprecated since version 3.10 and should not be used in newly-written code. Use gtk_icon_theme_lookup_icon() instead. Looks up stock_id in the icon factories associated to context and the default icon factory, returning an icon set if found, otherwise NULL.

class StyleContext
lookupIconSet
(
string stockId
)

Parameters

stockId string

an icon name

Return Value

Type: IconSet

The looked up GtkIconSet, or NULL. [transfer none]

Meta