def setRows(self, rows):
        if rows < 0:
            rows = 0

        if self._rows != rows:
            self._rows = rows
            self.requestRepaint()
Sets the number of rows in the editor. If the number of rows is
dataset/ETHPy150Open rwl/muntjac/muntjac/ui/list_select.py/ListSelect.setRows