

def theme_settings(self, themename, settings):
    "Temporarily sets the current theme to themename, apply specified\n        settings and then restore the previous theme.\n\n        Each key in settings is a style and each value may contain the\n        keys 'configure', 'map', 'layout' and 'element create' and they\n        are expected to have the same format as specified by the methods\n        configure, map, layout and element_create respectively."
    script = _script_from_settings(settings)
    self.tk.call(self._name, 'theme', 'settings', themename, script)

dataset/ETHPy150Open francelabs/datafari/windows/python/Lib/lib-tk/ttk.py Style.theme_settings/original