1 from Screens.Screen import Screen
3 from Components.ActionMap import ActionMap
4 from Components.Sources.StaticText import StaticText
5 from Components.ScrollLabel import ScrollLabel
8 def __init__(self, session, text = ""):
9 Screen.__init__(self, session)
12 self["text"] = ScrollLabel(self.text)
14 self["actions"] = ActionMap(["OkCancelActions", "DirectionActions"],
16 "cancel": self.cancel,
18 "up": self["text"].pageUp,
19 "down": self["text"].pageDown,