IconFactory


Description:

[ CCode ( has_construct_function = false ) ]
public IconFactory ()

Creates a new IconFactory.

Note:

Use IconTheme instead.

An icon factory manages a collection of IconSets; a IconSet manages a set of variants of a particular icon (i.e. a IconSet contains variants for different sizes and widget states). Icons in an icon factory are named by a stock ID, which is a simple string identifying the icon. Each Style has a list of IconFactorys derived from the current theme; those icon factories are consulted first when searching for an icon. If the theme doesn’t set a particular icon, GTK+ looks for the icon in a list of default icon factories, maintained by add_default and remove_default. Applications with icons should add a default icon factory with their icons, which will allow themes to override the icons for the application.

Returns:

a new IconFactory