libqtile/manager.py
def cmd_to_layout_index(self, index, group=None):
        """Switch to the layout with the given index in self.layouts.

        Parameters
        ==========
        index :
            Index of the layout in the list of layouts.
        group :
            Group name. If not specified, the current group is assumed.
        """
        if group:
            group = self.groupMap.get(group)
        else:
            group = self.currentGroup
        group.toLayoutIndex(index)
Switch to the layout with the given index in self.layouts.

        Parameters
        ==========
        index :
            Index of the layout in the list of layouts.
        group :
            Group name. If not specified, the current group is assumed.
        
Switch to the layout with the given index in self.layouts.
Parameters

index :
Index of the layout in the list of layouts.
group :
Group name. If not specified, the current group is assumed.
Switch to the layout with the given index in self . layouts . Parameters index : Index of the layout in the list of layouts . group : Group name . If not specified the current group is assumed .
def cmd_to_layout_index(self, index, group=None):
        if group:
            group = self.groupMap.get(group)
        else:
            group = self.currentGroup
        group.toLayoutIndex(index)
def cmd_to_layout_index ( self , index , group = None ) : if group : group = self . groupMap . get ( group ) else : group = self . currentGroup group . toLayoutIndex ( index )
Switch to the layout with the given index in self.layouts.
Switch to the layout with the given index in self . layouts .
"""Switch to the layout with the given index in self.layouts.

        Parameters
        ==========
        index :
            Index of the layout in the list of layouts.
        group :
            Group name. If not specified, the current group is assumed.
        """
self
index
group