          widget.config(cursor="")
          widget.update_idletasks()
  
      @staticmethod
      def _set_tk_vars():
          """ Set the global tkinter variables stored for easy access in :class:`Config`.
  
          The variables are available through :attr:`tk_vars`.
          """
          display = tk.StringVar()
 
</s> remove         display.set(None)
 </s> add         display.set("") </s> remove         widget = self.root if widget is None else widget
        widget.config(cursor="")
        widget.update_idletasks()
 </s> add         component = self.root if widget is None else widget
        component.config(cursor="")  # type: ignore
        component.update_idletasks() </s> remove     def previewtrain(self):
 </s> add     def previewtrain(self) -> Dict[str, List[Union[Image.Image, ImageTk.PhotoImage, None, float]]]: </s> remove def initialize_images():
 </s> add def initialize_images() -> None: </s> remove     def _create_placeholder(self, thumbnail_size):
 </s> add     def _create_placeholder(self, thumbnail_size: int) -> None:
    def _set_tk_vars() -> Dict[str, Union[tk.StringVar, tk.BooleanVar]]:
          widget.config(cursor="")
          widget.update_idletasks()
  
      @staticmethod
    def _set_tk_vars() -> Dict[str, Union[tk.StringVar, tk.BooleanVar]]:
          """ Set the global tkinter variables stored for easy access in :class:`Config`.
  
          The variables are available through :attr:`tk_vars`.
          """
          display = tk.StringVar()
keep keep keep keep replace keep keep keep keep keep
 Bugfix: Preview for extract in batch mode 
lib/gui/utils.py