def METHOD_NAME(self):
    def isAnIcon(name):
        if silx.resources.is_dir("gui/icons/" + name):
            return False
        _, ext = os.path.splitext(name)
        return ext in [".svg", ".png"]
    icons = silx.resources.list_dir("gui/icons")
    # filter out sub-directories
    icons = filter(isAnIcon, icons)
    # remove extension
    icons = [i.split(".")[0] for i in icons]
    # remove duplicated names
    icons = set(icons)
    # sort by names
    return icons