          logger.debug("Setting commane notebook: %s", notebook)
          self._gui_objects["command_notebook"] = notebook
          self.project.set_modified_callback()
  
      def set_active_tab_by_name(self, name):
          """ Sets the :attr:`command_notebook` or :attr:`tools_notebook` to active based on given
          name.
  
          Parameters
          ----------
 
</s> remove         self._gui_objects["command_notebook"] = notebook
 </s> add         self._gui_objects.command_notebook = notebook </s> remove     def set_command_notebook(self, notebook):
 </s> add     def set_command_notebook(self, notebook: "CommandNotebook") -> None: </s> remove     def _set_context_handletype(self, command, action, variable):
 </s> add     def _set_context_handletype(self, command: str, action: str, variable: str) -> None: </s> remove         self._gui_objects["default_options"] = default
 </s> add         self._gui_objects.default_options = default
    def set_active_tab_by_name(self, name: str) -> None:
          logger.debug("Setting commane notebook: %s", notebook)
          self._gui_objects["command_notebook"] = notebook
          self.project.set_modified_callback()
  
    def set_active_tab_by_name(self, name: str) -> None:
          """ Sets the :attr:`command_notebook` or :attr:`tools_notebook` to active based on given
          name.
  
          Parameters
          ----------
keep keep keep keep replace keep keep keep keep keep
 Bugfix: Preview for extract in batch mode 
lib/gui/utils.py