aboutsummaryrefslogtreecommitdiff
path: root/skin.py
diff options
context:
space:
mode:
Diffstat (limited to 'skin.py')
-rw-r--r--skin.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/skin.py b/skin.py
index fa5f6fb5..5744855c 100644
--- a/skin.py
+++ b/skin.py
@@ -80,6 +80,14 @@ def applySingleAttribute(guiObject, desktop, attrib, value):
desktop.makeCompatiblePixmap(ptr)
guiObject.setPixmap(ptr)
# guiObject.setPixmapFromFile(value)
+ elif attrib == "orientation": # used by eSlider
+ try:
+ guiObject.setOrientation(
+ { "orVertical": guiObject.orVertical,
+ "orHorizontal": guiObject.orHorizontal
+ }[value])
+ except KeyError:
+ print "oprientation must be either orVertical or orHorizontal!"
elif attrib == "valign":
try:
guiObject.setVAlign(