def set_theme(self, theme_name, toplevel=None, themebg=None):
if self._toplevel is not None and toplevel is None:<EOL><INDENT>toplevel = self._toplevel<EOL><DEDENT>if self._themebg is not None and themebg is None:<EOL><INDENT>themebg = self._themebg<EOL><DEDENT>ThemedWidget.set_theme(self, theme_name)<EOL>color = self._get_bg_color()<EOL>if themebg is True:<EOL><INDENT>self.config(background=color)<EOL><DEDENT>if toplevel is True:<EOL><INDENT>self._setup_toplevel_hook(color)<EOL><DEDENT>
Redirect the set_theme call to also set Tk background color