X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/aa3e781f31a04223416f0a34b25ab95fc0bef429..7b9d3432c8b671621bba5803a0e44cb295f7f6f8:/lib/python/Components/GUIComponent.py diff --git a/lib/python/Components/GUIComponent.py b/lib/python/Components/GUIComponent.py index bcd99d24..fee9341c 100644 --- a/lib/python/Components/GUIComponent.py +++ b/lib/python/Components/GUIComponent.py @@ -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)