add lcd
[enigma2.git] / lib / python / Components / GUIComponent.py
index bcd99d245e86fc32fb9a08e5b09b5d7c993d14ad..fee9341c558876846c95106957239c1454abc93d 100644 (file)
@@ -1,12 +1,17 @@
+import skin
+
 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)