GtkIconFactory::lookup

lookup(string stock_id);

This function returns a GtkIconSet that has the name specified by stock_id by searching the current GtkIconFactory instance . If the icon set cannot be found the function returns NULL.

You should use lookup_icon_set() on the GtkStyle for the widget for displaying the icon to the user, instead of using this function directly, so that themes are taken into account.