for w in self.additionalWidgets:
w.instance = w.widget(parent)
- w.instance.thisown = 0
+ # w.instance.thisown = 0
applyAllAttributes(w.instance, desktop, w.skinAttributes)
for f in self.onLayoutFinish:
- exec(f) in globals(), locals()
+ if type(f) is not type(self.close): # is this the best way to do this?
+ exec(f) in globals(), locals()
+ else:
+ f()
+
+
def deleteGUIScreen(self):
for (name, val) in self.items():