add zPosition to python
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Fri, 25 Nov 2005 01:40:27 +0000 (01:40 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Fri, 25 Nov 2005 01:40:27 +0000 (01:40 +0000)
skin.py

diff --git a/skin.py b/skin.py
index aa5965b..cf22967 100644 (file)
--- a/skin.py
+++ b/skin.py
@@ -71,6 +71,8 @@ def applySingleAttribute(guiObject, desktop, attrib, value):
                        guiObject.setText(value)
                elif attrib == 'font':
                        guiObject.setFont(parseFont(value))
+               elif attrib == 'zPosition':
+                       guiObject.setZPosition(value)
                elif attrib == "pixmap":
                        ptr = gPixmapPtr()
                        if loadPNG(ptr, value):