

def gettoppixel(self, celly, onscreen=True):
    'Return the y pixel coordinate of the cells at row celly.'
    if (onscreen and ((celly < 0) or (celly >= self.height))):
        return None
    return (self * self._cellheight)

dataset/ETHPy150Open asweigart/pygcurse/pygcurse/__init__.py PygcurseSurface.gettoppixel/VarMisuse@47/82 `celly`->`self`