auto iconThemes = openThemeFamily("NewTango", ["test"]); assert(iconThemes.length == 3); assert(iconThemes[0].internalName() == "NewTango"); assert(iconThemes[1].internalName() == "Tango"); assert(iconThemes[2].internalName() == "hicolor"); iconThemes = openThemeFamily("NewTango", ["test"], null); assert(iconThemes.length == 2); assert(iconThemes[0].internalName() == "NewTango"); assert(iconThemes[1].internalName() == "Tango");
ditto, but firstly loads the given icon theme by name. Returns an empty array if theme specified by iconThemeName could not be loaded.