git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
auf Grund der grossen Nachfrage gibt es wieder ein poweroff im "main", Powertaste...
[enigma2.git]
/
lib
/
python
/
Components
/
GUIComponent.py
diff --git
a/lib/python/Components/GUIComponent.py
b/lib/python/Components/GUIComponent.py
index bcd99d245e86fc32fb9a08e5b09b5d7c993d14ad..fee9341c558876846c95106957239c1454abc93d 100644
(file)
--- a/
lib/python/Components/GUIComponent.py
+++ b/
lib/python/Components/GUIComponent.py
@@
-1,12
+1,17
@@
+import skin
+
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)