"hide": self.hide,
})
- self.state = self.STATE_HIDDEN
+ self.state = self.STATE_SHOWN
+
+ self.onClose.append(self.delHideTimer)
self.hideTimer = eTimer()
self.hideTimer.timeout.get().append(self.doTimerHide)
- #self.hideTimer.start(1000)
+ self.hideTimer.start(1000)
+
+ def delHideTimer(self):
+ del self.hideTimer
def hide(self):
self.instance.hide()
self.session = session
GUISkin.__init__(self)
+ self.onClose = [ ]
+
# in order to support screens *without* a help,
# we need the list in every screen. how ironic.
self.helpList = [ ]
# never call this directly - it will be called from the session!
def doClose(self):
+ for x in self.onClose:
+ x()
+
# fixup circular references
del self.helpList
GUISkin.close(self)