code: def unselect(self, rows, status=True, progress=True):
          "Unselect given rows. Don't show progress if progress=False; don't show status if status=False."
          before = len(self._selectedRows)
          for r in (Progress(rows, 'unselecting') if progress else rows):
              self.unselectRow(r)
          if status:
              vd().status('unselected %s/%s %s' % (before-len(self._selectedRows), before, self.rowtype)f unselect(self, rows, status=True, progress=True):
          "Unselect given rows. Don't show progress if progress=False; don't show status if status=False."
          before = len(self._selectedRows)
          for r in (Progress(rows, 'unselecting') if progress else rows):
              self.unselectRow(r)
          if status:
              vd().status('unselected %s/%s %s' % (before-len(self._selectedRows), before, self.rowtype))
docs: Unselect given rows. Don't show progress if progress=False; don't show status if status=False.