def __set_window_title(self):
        """
        Sets the Component window title.
        """

        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)
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 )
Sets the Component window title.