def refresh(self, args=None): """ Show the help. """ super().refresh(args) help_message = _("The help is not available.") if self.help_path: with open(self.help_path, 'r') as f: help_message = f.read() self.window.add_with_separator(widgets.TextWidget(help_message))
def refresh(self, args=None): super().refresh(args) text = widgets.TextWidget(self._message) self.window.add_with_separator(widgets.CenterWidget(text))