lookupFallbackIcon

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

lookupFallbackIcon
(
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 = lookupFallbackIcon("folder", baseIconDirs(), [".png", ".xpm"]);

See Also

icontheme.paths.baseIconDirs, lookupIcon, lookupFallbackIcons

Meta