aboutsummaryrefslogtreecommitdiff
path: root/mytest.py
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2006-01-14 00:21:41 +0000
committerFelix Domke <tmbinc@elitedvb.net>2006-01-14 00:21:41 +0000
commitfb1ce65dd86a6821c5d48ee35cca5eb54f064f0c (patch)
treecb570185cb3aa9ceed9d6f3d48e360d31a50f6a9 /mytest.py
parent55c37c32a8e3545266d50af73457e9e53932f3de (diff)
downloadenigma2-fb1ce65dd86a6821c5d48ee35cca5eb54f064f0c.tar.gz
enigma2-fb1ce65dd86a6821c5d48ee35cca5eb54f064f0c.zip
allow Z position for screens
Diffstat (limited to 'mytest.py')
-rw-r--r--mytest.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/mytest.py b/mytest.py
index a9c8197e..42f1e009 100644
--- a/mytest.py
+++ b/mytest.py
@@ -147,7 +147,13 @@ class Session:
# create GUI view of this dialog
assert self.desktop != None
- dlg.instance = eWindow(self.desktop)
+
+ z = 0
+ for (key, value) in dlg.skinAttributes:
+ if key == "zPosition":
+ z = int(value)
+
+ dlg.instance = eWindow(self.desktop, z)
applyAllAttributes(dlg.instance, self.desktop, dlg.skinAttributes)
gui = GUIOutputDevice()
gui.parent = dlg.instance