Gtk.IconFactory.Lookup Method

Looks up a Stock ID in the icon factory.

Syntax

public IconSet Lookup (string stock_id)

Parameters

stock_id
an icon name

Returns

a Gtk.IconSet, or null.

Remarks

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

Requirements

Namespace: Gtk
Assembly: gtk-sharp (in gtk-sharp.dll)