add ability to remove list and config from a wizard
[enigma2.git] / lib / python / Components / GUIComponent.py
index bcd99d2..5483d18 100644 (file)
@@ -1,12 +1,22 @@
+import skin
+
+from enigma import ePoint
+
 class GUIComponent:
        """ GUI component """
-
+       
        def __init__(self):
                pass
-               
+       
        def execBegin(self):
                pass
        
        def execEnd(self):
                pass
+       
+       # 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)))