def calculateRelativeCoords(self, x, y):
        x -= self._x + self.padding; y -= self._y + self.padding
        return self.parent.calculateRelativeCoords(x, y)
dataset/ETHPy150Open ardekantur/pyglet/contrib/wydget/wydget/element.py/Element.calculateRelativeCoords/original