allow Z position for screens
authorFelix Domke <tmbinc@elitedvb.net>
Sat, 14 Jan 2006 00:21:41 +0000 (00:21 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Sat, 14 Jan 2006 00:21:41 +0000 (00:21 +0000)
mytest.py

index a9c8197..42f1e00 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