Function openBaseThemes
Recursively find all themes the given theme is inherited from.
IconThemeFile[] openBaseThemes(Range)
(
IconThemeFile iconTheme,
Range searchIconDirs,
string genericThemeName = defaultGenericIconTheme,
IconThemeFile . IconThemeReadOptions options = IconThemeFile .IconThemeReadOptions .init
)
if (isForwardRange!Range && is(ElementType!Range : string));
Parameters
Name | Description |
---|---|
iconTheme | Original icon theme to search for its base themes. It's NOT included in the resulting array. Must be not null. |
searchIconDirs | Base icon directories to search icon themes. |
genericThemeName | Name of icon theme which is loaded the last even if it's not specified in inheritance tree.
Pass empty string to avoid it. It's NOT loaded twice if some theme in inheritance tree has it as base theme.
Usually you don't need to change this parameter since hicolor is required to be used by specification. |
options | Options for IconThemeFile reading. |
Returns
Array of unique IconThemeFile
objects represented base themes.