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