diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2005-02-10 23:42:22 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2005-02-10 23:42:22 +0000 |
| commit | d7d291938c45893e28715fb12ae5b83d334084e9 (patch) | |
| tree | 56aefc1b03a6ce7e26e6f749aeac8992659c74cf /mytest.py | |
| parent | 4953676fb9df2347981b4f3ddb17a4d725197b31 (diff) | |
| download | enigma2-d7d291938c45893e28715fb12ae5b83d334084e9.tar.gz enigma2-d7d291938c45893e28715fb12ae5b83d334084e9.zip | |
- add "getCurrent" to service listbox
- add python wrapper for navigation core
- use nav core - you can zap now :)
Diffstat (limited to 'mytest.py')
| -rw-r--r-- | mytest.py | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -1,4 +1,5 @@ from enigma import * +from tools import * import sys import time @@ -6,13 +7,6 @@ import time from screens import * from skin import applyGUIskin - -def CONNECT(slot, fnc): - slot.get().append(fnc) - -def DISCONNECT(slot, fnc): - slot.get().remove(fnc) - # A screen is a function which instanciates all components of a screen into a temporary component. # Thus, the global stuff is a screen, too. # In a screen, components can either be instanciated from the class-tree, cloned (copied) or @@ -119,6 +113,8 @@ def runScreenTest(): session = Session() session.desktop = getDesktop() + session.nav = pNavigation() + session.open(infoBar()) CONNECT(keyPressedSignal(), session.keyEvent) |
