lookupNonThemedIcon

Lookup icon alternatives beyond the icon themes. May be used as fallback lookup, if lookupIcon returned empty range.

lookupNonThemedIcon
(
BaseDirs
Exts
)
(
string iconName
,,)
if (
isInputRange!(BaseDirs) &&
isForwardRange!(Exts)
&&
is(ElementType!BaseDirs : string)
&&
is(ElementType!Exts : string)
)

Return Value

Type: auto

The range of found icon file paths.

Examples

auto result = lookupNonThemedIcon("folder", baseIconDirs(), [".png", ".xpm"]);

See Also

icontheme.paths.baseIconDirs, lookupIcon, lookupNonThemedIcons

Meta