Package: gtk

Accessor gtk:icon-theme-search-path

Lambda List

gtk:icon-theme-search-path (object)

Syntax

(gtk:icon-theme-search-path object) => path
(setf (gtk:icon-theme-search-path object) path

Arguments

object -- a gtk:icon-theme object
path -- a list of strings with the search paths

Details

Accessor of the search-path slot of the gtk:icon-theme class. The gtk:icon-theme-search-path function gets the current search path. The (setf gtk:icon-theme-resource-path) function sets the search path for the icon theme object. When looking for an icon theme, GTK will search for a subdirectory of one or more of the directories in path with the same name as the icon theme containing an index.theme file. Themes from multiple of the path elements are combined to allow themes to be extended by adding icons in the home directory of the user.

In addition if an icon found is not found either in the current icon theme or the default icon theme, and an image file with the right name is found directly in one of the elements of path, then that image will be used for the icon name. This is legacy feature, and new icons should be put into the fallback icon theme, which is called hicolor, rather than directly on the icon path.
 

See also

2023-8-30