1 from Components.HTMLSkin import *
2 from Components.GUISkin import *
6 class Screen(dict, HTMLSkin, GUISkin):
9 def __init__(self, session):
10 self.skinName = self.__class__.__name__
11 self.session = session
12 GUISkin.__init__(self)
15 # assert self.session == None, "a screen can only exec one per time"
16 # self.session = session
17 for (name, val) in self.items():
21 for (name, val) in self.items():
23 # assert self.session != None, "execEnd on non-execing screen!"
26 # never call this directly - it will be called from the session!
31 for (name, val) in self.items():
34 def close(self, retval=None):
37 def setFocus(self, o):
38 self.instance.setFocus(o.instance)