From: Felix Domke Date: Sat, 14 Jan 2006 00:21:41 +0000 (+0000) Subject: allow Z position for screens X-Git-Tag: 2.6.0~4452 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/fb1ce65dd86a6821c5d48ee35cca5eb54f064f0c?hp=55c37c32a8e3545266d50af73457e9e53932f3de allow Z position for screens --- 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