add NumericalTextInputHelpDialog
[vuplus_dvbapp] / lib / python / Screens / MessageBox.py
index e850f7f..8b599a3 100644 (file)
@@ -18,6 +18,8 @@ class MessageBox(Screen):
                
                self["text"] = Label(text)
                
+               self.text = text
+               
                self["ErrorPixmap"] = Pixmap()
                self["QuestionPixmap"] = Pixmap()
                self["InfoPixmap"] = Pixmap()
@@ -106,4 +108,7 @@ class MessageBox(Screen):
                if self.timerRunning:
                        self.timer.stop()
                        self.setTitle(self.origTitle)
-                       self.timerRunning = False
\ No newline at end of file
+                       self.timerRunning = False
+
+       def __repr__(self):
+               return str(type(self)) + "(" + self.text + ")"