def run(self):
"""This method needs to be called to actually start the display.
To switch to another view (another Frame widget), use the
`@widget.setter` property of Loop. To return to earlier view
(or close a pop-up), use `@widget.deleter`. To interact with the
body of current Frame, use `@frameBody` property.
"""
frame = self.MOTD_screen()
# Top-level widget finished initializing, so let's assign it.
self.loop.Widget = ur.AttrMap(frame, "bg", None)
self.loop.run()
评论列表
文章目录