code: def toggle(self, rows):
          'Toggle selection of given `rows`.'
          for r in Progress(rows, 'toggling', total=len(self.rows)):
              if not self.unselectRow(r):
                  self.selectRow(rf toggle(self, rows):
          'Toggle selection of given `rows`.'
          for r in Progress(rows, 'toggling', total=len(self.rows)):
              if not self.unselectRow(r):
                  self.selectRow(r)
docs: Toggle selection of given `rows`.