2 from Screens.Screen import Screen
3 from Screens.MessageBox import MessageBox
5 from Components.ActionMap import ActionMap
6 from Components.Label import Label
10 <screen position="100,100" size="200,200" title="Example plugin..." >
11 <widget name="text" position="0,0" size="100,50" font="Regular;23" />
14 def __init__(self, session):
15 self.skin = Example.skin
16 Screen.__init__(self, session)
18 self["text"] = Label("Big test")
20 self["actions"] = ActionMap(["WizardActions"],
27 self.session.open(MessageBox, "Bla bla bla bla bla bla bla bla\n bla bla bla bla bla bla\n bla bla bla bla bla bla\n bla bla bla bla bla", MessageBox.TYPE_YESNO)
34 return "/usr/share/enigma2/record.png"
37 return "Fancy example-plugin"