diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2005-01-28 02:39:09 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2005-01-28 02:39:09 +0000 |
| commit | 8ade23537a682d4b0c9709d533b25702bde2ee23 (patch) | |
| tree | d558411192229a6ddb407b8b067658572b6a9e6b /mytest.py | |
| parent | 1a46b8d1505a1496dfdce0a9f96dde7efbc65d65 (diff) | |
| download | enigma2-8ade23537a682d4b0c9709d533b25702bde2ee23.tar.gz enigma2-8ade23537a682d4b0c9709d533b25702bde2ee23.zip | |
- add listbox
- add listbox example to python (press space, use 1..5)
- fix label text positions
Diffstat (limited to 'mytest.py')
| -rw-r--r-- | mytest.py | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -100,7 +100,12 @@ class Session: self.currentWindow = None def keyEvent(self, code): - self.currentDialog.data["okbutton"]["instance"].push() + print "code " + str(code) + if code == 32: + self.currentDialog.data["okbutton"]["instance"].push() + + if code >= 0x30 and code <= 0x39: + self.currentDialog.data["menu"]["instance"].moveSelection(code - 0x31) def close(self): self.delayTimer.start(0, 1) |
