aboutsummaryrefslogtreecommitdiff
path: root/mytest.py
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2005-02-10 23:42:22 +0000
committerFelix Domke <tmbinc@elitedvb.net>2005-02-10 23:42:22 +0000
commitd7d291938c45893e28715fb12ae5b83d334084e9 (patch)
tree56aefc1b03a6ce7e26e6f749aeac8992659c74cf /mytest.py
parent4953676fb9df2347981b4f3ddb17a4d725197b31 (diff)
downloadenigma2-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.py10
1 files changed, 3 insertions, 7 deletions
diff --git a/mytest.py b/mytest.py
index 4712ba11..388fcdac 100644
--- a/mytest.py
+++ b/mytest.py
@@ -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)