code: def config(self, kw=None, **kwargs):
          
          themebg = kwargs.pop("themebg", self._themebg)
          toplevel = kwargs.pop("toplevel", self._toplevel)
          theme = kwargs.pop("theme", self.current_theme)
          color = self._get_bg_color()
          if themebg != self._themebg:
              if themebg is False:
                  self.configure(bg="white")
              else:
                  self.configure(bg=color)
              self._themebg = themebg
          if toplevel != self._toplevel:
              if toplevel is True:
                  self._setup_toplevel_hook(color)
              else:
                  tk.Toplevel.__init__ = self.__init__toplevel
              self._toplevel = toplevel
          if theme != self.current_theme:
              self.set_theme(theme)
          return tk.Tk.config(self, kw, **kwargs)
docs: configure redirect to support additional options