+ self["menu"] = MenuList(
+ [
+ ("MAIN MENU", self.goMain),
+ ("EMU SETUP", self.goEmu),
+ ("TIMESHIFT SETUP", self.goTimeshift),
+ ("HDTV PIP CONFIG", self.goHDTV),
+ ("wie spaet ists?!", self.goClock)
+ ])
+
+class mainMenu(Screen):
+ def __init__(self):
+ GUISkin.__init__(self)
+
+ self["title"] = Header("this is the\nMAIN MENU !!!");
+ self["okbutton"] = Button("ok")
+ self["okbutton"].onClick = [ self.close ]