Temporarily sets the current theme to themename, apply specified settings and then restore the previous theme. Each key in settings is a style and each value may contain the keys 'configure', 'map', 'layout' and 'element create' and they are expected to have the
(self, themename, settings)
| 469 | |
| 470 | |
| 471 | def theme_settings(self, themename, settings): |
| 472 | """Temporarily sets the current theme to themename, apply specified |
| 473 | settings and then restore the previous theme. |
| 474 | |
| 475 | Each key in settings is a style and each value may contain the |
| 476 | keys 'configure', 'map', 'layout' and 'element create' and they |
| 477 | are expected to have the same format as specified by the methods |
| 478 | configure, map, layout and element_create respectively.""" |
| 479 | script = _script_from_settings(settings) |
| 480 | self.tk.call(self._name, "theme", "settings", themename, script) |
| 481 | |
| 482 | |
| 483 | def theme_names(self): |
nothing calls this directly
no test coverage detected