1 from Screen import Screen
2 from Components.ActionMap import ActionMap
3 from Components.Label import Label
5 class MessageBox(Screen):
6 def __init__(self, session, text):
7 Screen.__init__(self, session)
9 self["text"] = Label(text)
11 self["actions"] = ActionMap(["OkCancelActions"],
13 "cancel": self.cancel,