

def _propsetpixelheight(self, value):
    newheight = int((int(value) / self._cellheight))
    if (newheight != self.height):
        self.resize(newheight=newheight)

dataset/ETHPy150Open asweigart/pygcurse/pygcurse/__init__.py PygcurseTextbox._propsetpixelheight/original