+# 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)
+# ])
+ self["menu"] = ServiceList()
+
+ self["menu"].setRoot(eServiceReference("2:0:1:0:0:0:0:0:0:0:/"))
+
+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 ]