guiObject.setZPosition(int(value))
elif attrib == "pixmap":
ptr = loadPNG(value)
+ # that __deref__ still scares me!
desktop.makeCompatiblePixmap(ptr.__deref__())
guiObject.setPixmap(ptr.__deref__())
# guiObject.setPixmapFromFile(value)
"showAlways": guiObject.showAlways,
"showNever": guiObject.showNever
}[value])
+ elif attrib == "enableWrapAround":
+ guiObject.setWrapAround(True)
+ elif attrib == "pointer":
+ (name, pos) = value.split(':')
+ pos = parsePosition(pos)
+ ptr = loadPNG(name)
+ desktop.makeCompatiblePixmap(ptr.__deref__())
+ guiObject.setPointer(ptr.__deref__(), pos)
elif attrib != 'name':
print "unsupported attribute " + attrib + "=" + value
except int:
if myscreen is None:
# try embedded skin
- print screen.__dict__
if "parsedSkin" in screen.__dict__:
myscreen = screen.parsedSkin
elif "skin" in screen.__dict__: