libqtile/layout/base.py
def add(self, client, offset_to_current=0):
        """
        Insert the given client into collection at position of the current.

        Use parameter 'offset_to_current' to specify where the client shall be
        inserted. Defaults to zero, which means at position of current client.
        Positive values are after the client.
        """
        pos = max(0, self._current_idx + offset_to_current)
        if pos < len(self.clients):
            self.clients.insert(pos, client)
        else:
            self.clients.append(client)
        self.current_client = client

        Insert the given client into collection at position of the current.

        Use parameter 'offset_to_current' to specify where the client shall be
        inserted. Defaults to zero, which means at position of current client.
        Positive values are after the client.
        
Insert the given client into collection at position of the current.
Use parameter 'offset_to_current' to specify where the client shall be
inserted. Defaults to zero, which means at position of current client.
Positive values are after the client.
Insert the given client into collection at position of the current . Use parameter ' offset_to_current ' to specify where the client shall be inserted . Defaults to zero which means at position of current client . Positive values are after the client .
def add(self, client, offset_to_current=0):
        pos = max(0, self._current_idx + offset_to_current)
        if pos < len(self.clients):
            self.clients.insert(pos, client)
        else:
            self.clients.append(client)
        self.current_client = client
def add ( self , client , offset_to_current = 0 ) : pos = max ( 0 , self . _current_idx + offset_to_current ) if pos < len ( self . clients ) : self . clients . insert ( pos , client ) else : self . clients . append ( client ) self . current_client = client
Insert the given client into collection at position of the current.
Insert the given client into collection at position of the current .
"""
        Insert the given client into collection at position of the current.

        Use parameter 'offset_to_current' to specify where the client shall be
        inserted. Defaults to zero, which means at position of current client.
        Positive values are after the client.
        """
self
client
offset_to_current