          """ Some options don't like to be copied, so this returns a cleaned
              configuration from a widget """
          return {key: val for key, val in widget.pack_info().items() if key != "in"}
  
      def unpack_originals(self):
          """ The original widgets must be unpacked but not destroyed
              as we need to reference them for cloning """
          for subframe in self.subframes:
              for child in subframe.winfo_children():
                  child.pack_forget()
  
      def destroy_children(self):
          """ Destroy the currently existing widgets """
          for subframe in self.subframes:
              for child in subframe.winfo_children():
                  child.destroy()
 
</s> remove         if widget.configure() is None:
            return None
        for key, val in widget.configure().items():
 </s> add         for key in widget.config(): </s> remove             configuration from a widget """
 </s> add             configuration from a widget
            We use config() instead of configure() because some items (TScale) do
            not populate configure()""" </s> remove             new_config[key] = widget.cget(key)
 </s> add             # Return correct command from master command dict
            val = _COMMANDS[val] if key == "command" and val != "" else val
            new_config[key] = val </s> remove             logger.debug(widget_dict["id"])
 </s> add             logger.debug("Cloning widget: %s", widget_dict)
          """ Some options don't like to be copied, so this returns a cleaned
              configuration from a widget """
          return {key: val for key, val in widget.pack_info().items() if key != "in"}
  







      def destroy_children(self):
          """ Destroy the currently existing widgets """
          for subframe in self.subframes:
              for child in subframe.winfo_children():
                  child.destroy()
keep keep keep keep replace replace replace replace replace replace replace keep keep keep keep keep
 Bugfix: Fix commands for re-arranged panels 
lib/gui/control_helper.py