Function IconThemeFile.tryLoadCache
Try to load icon cache. Loaded icon cache will be used on icon lookup.
auto IconThemeCache tryLoadCache
(
std .typecons .Flag!("allowOutdated") allowOutdated = cast(Flag)false
) nothrow @trusted;
Returns
Loaded IconThemeCache
object or null, if cache does not exist or invalid or outdated.
Note
This function expects that icon theme has fileName.