libqtile/state.py
def apply(self, qtile):
        """
        Rearrange the windows in the specified Qtile object according to this
        QtileState.
        """
        for (group, layout, label) in self.groups:
            try:
                qtile.groupMap[group].layout = layout
            except KeyError:
                qtile.addGroup(group, layout, label=label)

        for (screen, group) in self.screens.items():
            try:
                group = qtile.groupMap[group]
                qtile.screens[screen].setGroup(group)
            except (KeyError, IndexError):
                pass  # group or screen missing

        qtile.toScreen(self.current_screen)

        Rearrange the windows in the specified Qtile object according to this
        QtileState.
        
Rearrange the windows in the specified Qtile object according to this
QtileState.
Rearrange the windows in the specified Qtile object according to this QtileState .
def apply(self, qtile):
        for (group, layout, label) in self.groups:
            try:
                qtile.groupMap[group].layout = layout
            except KeyError:
                qtile.addGroup(group, layout, label=label)
        for (screen, group) in self.screens.items():
            try:
                group = qtile.groupMap[group]
                qtile.screens[screen].setGroup(group)
            except (KeyError, IndexError):
                pass  
        qtile.toScreen(self.current_screen)
def apply ( self , qtile ) : for ( group , layout , label ) in self . groups : try : qtile . groupMap [ group ] . layout = layout except KeyError : qtile . addGroup ( group , layout , label = label ) for ( screen , group ) in self . screens . items ( ) : try : group = qtile . groupMap [ group ] qtile . screens [ screen ] . setGroup ( group ) except ( KeyError , IndexError ) : pass qtile . toScreen ( self . current_screen )
Rearrange the windows in the specified Qtile object according to this
QtileState.
Rearrange the windows in the specified Qtile object according to this QtileState .
"""
        Rearrange the windows in the specified Qtile object according to this
        QtileState.
        """ # group or screen missing
self
qtile