  from tkinter import ttk
  from itertools import zip_longest
  
  from .tooltip import Tooltip
  from .utils import ContextMenu, FileHandler, get_config, get_images
  
 
</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     @property
    def user_config_dict(self):
        """ Return the dictionary from user_config """
        return self.user_config.config_dict

 </s> add  </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             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     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()

 </s> add 
from functools import partial
  from tkinter import ttk
  from itertools import zip_longest
from functools import partial
  
  from .tooltip import Tooltip
  from .utils import ContextMenu, FileHandler, get_config, get_images
  
keep add keep keep keep keep
 Bugfix: Fix commands for re-arranged panels 
lib/gui/control_helper.py