def _get_status_tokens(self):
        " The tokens for the status bar. "
        result = []

        # Display panes.
        for i, w in enumerate(self.pymux.arrangement.windows):
            if i > 0:
                result.append(('', ' '))

            if w == self.pymux.arrangement.get_active_window():
                style = 'class:window.current'
                format_str = self.pymux.window_status_current_format

            else:
                style = 'class:window'
                format_str = self.pymux.window_status_format

            result.append((
                style,
                format_pymux_string(self.pymux, format_str, window=w),
                self._create_select_window_handler(w)))

        return result
def _get_status_tokens ( self ) : result = [ ] for i , w in enumerate ( self . pymux . arrangement . windows ) : if i > 0 : result . append ( ( '' , ' ' ) ) if w == self . pymux . arrangement . get_active_window ( ) : style = 'class:window.current' format_str = self . pymux . window_status_current_format else : style = 'class:window' format_str = self . pymux . window_status_format result . append ( ( style , format_pymux_string ( self . pymux , format_str , window = w ) , self . _create_select_window_handler ( w ) ) ) return result
The tokens for the status bar.