Package: gtk

Function gtk:icon-factory-add-default

Lambda List

gtk:icon-factory-add-default (factory)

Arguments

factory -- a gtk:icon-factory object

Details

Adds an icon factory to the list of icon factories searched by the gtk_style_lookup_icon_set() function. This means that, for example, the gtk:image-new-from-stock function will be able to find icons in factory. There will normally be an icon factory added for each library or application that comes with icons. The default icon factories can be overridden by themes.

Warning

The gtk:icon-factory-add-default function has been deprecated since version 3.10 and should not be used in newly written code. Use the gtk:icon-theme API instead.
 

See also

gtk:icon-factory
gtk:icon-theme
gtk:image-new-from-stock
#2023-3-27