aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/GUIComponent.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Components/GUIComponent.py')
-rw-r--r--lib/python/Components/GUIComponent.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/python/Components/GUIComponent.py b/lib/python/Components/GUIComponent.py
index fee9341c..b84cf8c2 100644
--- a/lib/python/Components/GUIComponent.py
+++ b/lib/python/Components/GUIComponent.py
@@ -1,5 +1,7 @@
import skin
+from enigma import ePoint
+
class GUIComponent:
""" GUI component """
@@ -15,3 +17,6 @@ class GUIComponent:
# this works only with normal widgets - if you don't have self.instance, override this.
def applySkin(self, desktop):
skin.applyAllAttributes(self.instance, desktop, self.skinAttributes)
+
+ def move(self, x, y):
+ self.instance.move(ePoint(int(x), int(y))) \ No newline at end of file