1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
| def __init__(self, session, args = 0):
self.session = session
list = []
list.append(("ControPart", "com_three"))
list.append((" Informt ", "com_four"))
list.append(("Conf", "com_five"))
list.append(("Facb", "com_two"))
list.append(("HDMU_SoftcamControl", "com_one"))
list.append(("BMediaCenter", "com_sixe"))
list.append(("SoftcamControl", "com_seven"))
list.append(("SkinSelector", "com_eight"))
list.append(("NetworkBrowser", "com_nine"))
# list.append(("Panel", "com_ten"))
list.append((_("Exit"), "exit"))
Screen.__init__(self, session)
self["myMenu"] = MenuList(list)
self["myGreenBtn"] = Label(_("About"))
self["myActionMap"] = ActionMap(["SetupActions", "ColorActions"],
{
"ok": self.go,
"cancel": self.cancel,
"green":self.textilos,
}, -1) |
Partager