Temporarily sets the current theme to themename, apply specified settings and then restore the previous theme.
tkinter.ttk/Style.theme_settings
Style.theme_settings