IconFactory.lookup

gtk.icon_set.IconSet lookup(string stockId)

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.Style.lookupIconSet] on the #GtkStyle for the widget that will display the icon, instead of using this function directly, so that themes are taken into account.

Parameters

stockIdan icon name

Returns

icon set of stock_id.

Deprecated

Use #GtkIconTheme instead.