aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/Label.py
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-12-06 20:02:48 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-12-06 20:02:48 +0000
commit7aaa13924d6d60f6fb66a262ce6ecd8088aee9b6 (patch)
tree902ccc93acf3a23ea8c5bb5c187a889041a213b3 /lib/python/Components/Label.py
parent60fb5b95387fb30902240b92deed145720fa867a (diff)
downloadenigma2-7aaa13924d6d60f6fb66a262ce6ecd8088aee9b6.tar.gz
enigma2-7aaa13924d6d60f6fb66a262ce6ecd8088aee9b6.zip
the long awaited feature "blinking label" is now available
Diffstat (limited to 'lib/python/Components/Label.py')
-rw-r--r--lib/python/Components/Label.py25
1 files changed, 24 insertions, 1 deletions
diff --git a/lib/python/Components/Label.py b/lib/python/Components/Label.py
index 730a01e5..129180f4 100644
--- a/lib/python/Components/Label.py
+++ b/lib/python/Components/Label.py
@@ -33,4 +33,27 @@ class Label(HTMLComponent, GUIComponent, VariableText):
class LabelConditional(Label, ConditionalWidget):
def __init__(self, text = "", withTimer = True):
ConditionalWidget.__init__(self, withTimer = withTimer)
- Label.__init__(self, text = text) \ No newline at end of file
+ Label.__init__(self, text = text)
+
+class BlinkingLabel(Label, BlinkingWidget):
+ def __init__(self, text = ""):
+ Label.__init__(text = text)
+ BlinkingWidget.__init__()
+
+ def GUIcreate(self, parent):
+ LabelConditional.GUIcreate(self, parent)
+
+ def GUIdelete(self):
+ LabelConditional.GUIcreate(self)
+
+class BlinkingLabelConditional(BlinkingWidgetConditional, LabelConditional):
+ def __init__(self, text = ""):
+ LabelConditional.__init__(self, text = text)
+ BlinkingWidgetConditional.__init__(self)
+
+ def GUIcreate(self, parent):
+ LabelConditional.GUIcreate(self, parent)
+
+ def GUIdelete(self):
+ LabelConditional.GUIcreate(self)
+ \ No newline at end of file