From fb1ce65dd86a6821c5d48ee35cca5eb54f064f0c Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Sat, 14 Jan 2006 00:21:41 +0000 Subject: [PATCH] allow Z position for screens --- mytest.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- 2.30.2