aboutsummaryrefslogtreecommitdiff
path: root/components.py
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2005-02-07 09:14:02 +0000
committerFelix Domke <tmbinc@elitedvb.net>2005-02-07 09:14:02 +0000
commitd9ee52e4f0fbe9a1ae00d0e66f9e6f0a07fa319f (patch)
treef1084b85919b5590615e281331cfe535c3a160c8 /components.py
parent4bc08995411e21f3564f09e136809be68ddf96a8 (diff)
downloadenigma2-d9ee52e4f0fbe9a1ae00d0e66f9e6f0a07fa319f.tar.gz
enigma2-d9ee52e4f0fbe9a1ae00d0e66f9e6f0a07fa319f.zip
- added iStaticServiceInformation
- added service list interface for dvb - started work on queries (currently only "instr" on servicename) - started work on infobar - added listbox with service - fixed dvbdb - remove some debug output
Diffstat (limited to 'components.py')
-rw-r--r--components.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/components.py b/components.py
index 8015621f..48bcdaf5 100644
--- a/components.py
+++ b/components.py
@@ -174,11 +174,11 @@ class Clock(HTMLComponent, GUIComponent, VariableText):
return self.getText()
class Button(HTMLComponent, GUIComponent, VariableText):
- def __init__(self, text=""):
+ def __init__(self, text="", onClick = [ ]):
GUIComponent.__init__(self)
VariableText.__init__(self)
self.setText(text)
- self.onClick = [ ]
+ self.onClick = onClick
def push(self):
for x in self.onClick:
@@ -224,7 +224,6 @@ class VolumeBar(HTMLComponent, GUIComponent, VariableValue):
g.setRange(0, 100)
return g
-
class MenuList(HTMLComponent, GUIComponent):
def __init__(self, list):
GUIComponent.__init__(self)