code: def __set_window_title(self):
          
  
          if self.has_editor_tab():
              windowTitle = "{0} - {1}".format(self.__default_window_title, self.get_current_editor().file)
          else:
              windowTitle = "{0}".format(self.__default_window_title)
  
          LOGGER.debug("> Setting 'Script Editor' window title to '{0}'.".format(windowTitle))
          self.setWindowTitle(windowTitle)
docs: Sets the Component window title.