baseIconDirs

The list of icon theme directories based on data paths.

  1. string[] baseIconDirs()
  2. string[] baseIconDirs(Range dataPaths)
    @trusted
    string[]
    baseIconDirs
    (
    Range
    )
    (
    Range dataPaths
    )
    if (
    isInputRange!Range &&
    is(ElementType!Range : string)
    )

Return Value

Type: string[]

Array of paths with "icons" subdirectory appended to each data path. Note: This function does not check if directories exist.

Examples

auto dataPaths = ["share", buildPath("local", "share")];
assert(equal(baseIconDirs(dataPaths), [buildPath("share", "icons"), buildPath("local", "share", "icons")]));

Meta