Package: gtk
Function gtk-icon-factory-add
Lambda Listgtk-icon-factory-add (factory stock-id iconset) ArgumentsDetails Adds the given iconset to the icon factory, under the name stock-id. The argument stock-id should be namespaced for your application, e.g.
"myapp-whatever-icon". Normally applications create a gtk-icon-factory object, then add it to the list of default factories with the function gtk-icon-factory-add-default. Then they pass the argument stock-id to widgets such as a gtk-image widget to
display the icon. Themes can provide an icon with the same name, such as
"myapp-whatever-icon", to override your default icons of the application. If an icon already existed in factory for stock-id, it is unreferenced and replaced with the new iconset instance. Warning | See also |
*2021-7-24