add rfmod include
[enigma2.git] / lib / python / Screens / MessageBox.py
1 from Screen import Screen
2 from Components.ActionMap import ActionMap
3 from Components.Label import Label
4
5 class MessageBox(Screen):
6         def __init__(self, session, text):
7                 Screen.__init__(self, session)
8                 
9                 self["text"] = Label(text)
10
11                 self["actions"] = ActionMap(["OkCancelActions"], 
12                         {
13                                 "cancel": self.close
14                         })
15