Find icon closest of the size. It uses icon theme cache wherever possible. The first perfect match is used.
ditto, but with predefined extensions and fallback allowed.
Find fallback icon outside of icon themes. The first found is returned.
Find index.theme file by theme name.
Find icon of the largest size. It uses icon theme cache wherever possible.
ditto, but with predefined extensions and fallback allowed.
Distance between desired size and minimum or maximum size value supported by icon theme subdirectory.
Find all icon themes in searchIconDirs. Note: You may want to skip icon themes duplicates if there're different versions of the index.theme file for the same theme.
Lookup icon alternatives beyond the icon themes. May be used as fallback lookup, if lookupIcon returned empty range.
Iterate over all icons out of icon themes.
Lookup icon alternatives in icon themes. It uses icon theme cache wherever it's loaded. If searched icon is found in some icon theme all subsequent themes are ignored.
Lookup index.theme files by theme name.
Iterate over all icons in icon themes. iconThemes is usually the range of the main theme and themes it inherits from. Note: Usually if some icon was found in icon theme, it should be ignored in all subsequent themes, including sizes not presented in former theme. Use subdirFilter to filter icons by icontheme.file.IconSubDir thus decreasing the number of searchable items and allocations.
Find icon closest to the given size among given alternatives.
Check if matchSize belongs to subdir's size range.
Recursively find all themes the given theme is inherited from.
Find index.theme file for given theme and create instance of icontheme.file.IconThemeFile. The first found file will be used.
Default icon extensions. This array includes .png and .xpm. PNG is recommended format. XPM is kept for backward compatibility.
Result of icon lookup.
Lookup of icon themes and icons.
Note: All found icons are just paths. They are not verified to be valid images.