lookup


Description:

public unowned IconSet lookup (string stock_id)

Looks up stock_id in the icon factory, returning an icon set if found, otherwise null.

Note:

Use IconTheme instead.

For display to the user, you should use lookup_icon_set on the Style for the widget that will display the icon, instead of using this function directly, so that themes are taken into account.

Parameters:

this

a IconFactory

stock_id

an icon name

Returns:

icon set of stock_id.




2022 vala-language.org