allow Z position for screens
[enigma2.git] / mytest.py
index a9c8197e0e011e31f574dd88222943930c154788..42f1e0091f947ad5cd781e103cbf2e8805cd95b3 100644 (file)
--- 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