openThemeFamily - multiple declarations

Function openThemeFamily

Recursively find all themes the given theme is inherited from.

IconThemeFile[] openThemeFamily(Range) (
  IconThemeFile iconTheme,
  Range searchIconDirs,
  string genericThemeName = defaultGenericIconTheme,
  IconThemeFile.IconThemeReadOptions options = IconThemeFile.IconThemeReadOptions.init
)
if (isForwardRange!Range && is(ElementType!Range : string));

Parameters

NameDescription
iconTheme Original icon theme to search for its base themes. Included as first element 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 that represent the provided icon theme and its base themes.

See Also

openBaseThemes

Function openThemeFamily

ditto, but firstly loads the given icon theme by name. Returns an empty array if theme specified by iconThemeName could not be loaded.

IconThemeFile[] openThemeFamily(Range) (
  string iconThemeName,
  Range searchIconDirs,
  string genericThemeName = defaultGenericIconTheme,
  IconThemeFile.IconThemeReadOptions options = IconThemeFile.IconThemeReadOptions.init
)
if (isForwardRange!Range && is(ElementType!Range : string));