aboutsummaryrefslogtreecommitdiff
path: root/mytest.py
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2005-01-13 00:02:15 +0000
committerFelix Domke <tmbinc@elitedvb.net>2005-01-13 00:02:15 +0000
commit47d24e1d25002485f1cb90f1682b4bc3070cad0b (patch)
tree009e619fdece144fef4839cb4d81838a10a1c6d0 /mytest.py
parent967664233fc4ce992405a0e86e0c6cd594dfba57 (diff)
downloadenigma2-47d24e1d25002485f1cb90f1682b4bc3070cad0b.tar.gz
enigma2-47d24e1d25002485f1cb90f1682b4bc3070cad0b.zip
first step for skin support
Diffstat (limited to 'mytest.py')
-rw-r--r--mytest.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/mytest.py b/mytest.py
index 723de54d..e5dd7e96 100644
--- a/mytest.py
+++ b/mytest.py
@@ -66,7 +66,6 @@ def test():
wnd.setTitle("python")
wnd.move(ePoint(300, 100))
wnd.resize(eSize(300, 300))
- wnd.show()
gui = GUIOutputDevice()
gui.parent = wnd
@@ -108,6 +107,8 @@ def test():
# button.move(ePoint(200, 10))
# button.resize(eSize(80, 50))
+ wnd.show()
+
for x in range(200):
time.sleep(0.1)
components["clock"].doClock()
@@ -115,7 +116,7 @@ def test():
r = 200 - x
else:
r = x
-# components["$002"]["okbutton"].setValue(r)
+ components["$002"]["okbutton"].setValue(r)
desktop.paint()
#
@@ -126,6 +127,7 @@ def test():
# print "delete wnd"
# del wnd
# print "bye"
+
return 0