sugar-toolkit-gtk3/sugar/scene/Actor.py
Marco Pesenti Gritti 1e3633baf7 Implement translation
2006-07-24 11:01:25 +02:00

18 lines
287 B
Python

class Actor:
def __init__(self):
self._x = 0
self._y = 0
self._width = -1
self._height = -1
def set_position(self, x, y):
self._x = x
self._y = y
def set_size(self, width, height):
self._width = width
self._height = height
def render(self, window, transf):
pass