

def _propsetcursorx(self, value):
    "\n        Set the cursor's x coordinate.\n\n        value - The new x coordinate. A negative value can be used to specify\n        the x coordinate in terms of its relative distance to the right border\n        of the surface. No operation will be performed if value is greater than\n        or equal to the width of the surface.\n        "
    x = int(value)
    if ((x >= self._width) or (x <= (- self._width))):
        return
    if (x < 0):
        x = (self._width + x)
    value._cursorx = x

dataset/ETHPy150Open asweigart/pygcurse/pygcurse/__init__.py PygcurseSurface._propsetcursorx/VarMisuse@68/203 `self`->`value`