-
-
-def test():
- desktop = getDesktop()
- print "desktop: " + str(desktop)
-
- wnd = eWindow(desktop)
- print "window " + str(wnd)
- wnd.setTitle("python")
- wnd.move(ePoint(300, 100))
- wnd.resize(eSize(300, 300))
-
- gui = GUIOutputDevice()
- gui.parent = wnd
- gui.create(components["$002"])
-# for (x,y) in components["$001"].data.items():
-# print str(x) + " -> " + str(y) + " (" + y["instance"].getText() + ")"
-
-# print components["$001"].data["okbutton"]["instance"].doClick()
-
-# diese sachen gehoeren in den skin! :)
- applyGUIskin(components["$002"], None, "clockDialog")
+class Session:
+ def __init__(self):
+ self.desktop = None
+ self.delayTimer = eTimer()
+ self.delayTimer.timeout.get().append(self.processDelay)
+
+ self.currentDialog = None
+
+ self.dialogStack = [ ]