openThemeFamily

Recursively find all themes the given theme is inherited from.

  1. IconThemeFile[] openThemeFamily(IconThemeFile iconTheme, Range searchIconDirs, string genericThemeName, IconThemeFile.IconThemeReadOptions options)
  2. IconThemeFile[] openThemeFamily(string iconThemeName, Range searchIconDirs, string genericThemeName, IconThemeFile.IconThemeReadOptions options)

Parameters

iconTheme IconThemeFile

Original icon theme to search for its base themes. Included as first element in the resulting array. Must be not null.

searchIconDirs Range

Base icon directories to search icon themes.

genericThemeName string

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 IconThemeFile.IconThemeReadOptions

Options for icontheme.file.IconThemeFile reading.

Return Value

Array of unique icontheme.file.IconThemeFile objects that represent the provided icon theme and its base themes.

See Also

Meta