(self)
Create a new Window
Create a new Window
Create a new Window
def new_window(self):
        """Create a new Window"""
        terminals_before = set(self.get_terminals())
        self.terminator.new_window()
        terminals_after = set(self.get_terminals())
        new_terminal_set = list(terminals_after - terminals_before)
        if len(new_terminal_set) != 1:
            return "ERROR: Cannot determine the UUID of the added terminal"
        else:
            return new_terminal_set[0]
def new_window ( self ) : terminals_before = set ( self . get_terminals ( ) ) self . terminator . new_window ( ) terminals_after = set ( self . get_terminals ( ) ) new_terminal_set = list ( terminals_after - terminals_before ) if len ( new_terminal_set ) != 1 : return "ERROR: Cannot determine the UUID of the added terminal" else : return new_terminal_set [ 0 ]