

def _propsetmidbottom(self, value):
    self.x = (value[0] - int((self.width / 2)))
    self.y = (value[1] - self.height)

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