X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/4953676fb9df2347981b4f3ddb17a4d725197b31..d7d291938c45893e28715fb12ae5b83d334084e9:/mytest.py 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)