def show_cell(self): yp = self.y + self.win_y xp = self.x + self.win_x detail = self.get_detail(self.data, yp, xp) if not detail: return content, title = detail tabview.TextBox(self.scr, content, title)() self.resize()
def show_logs(self): formatted = self._format_logs() tabview.TextBox(self.scr, data=formatted, title="Logs")() self.resize()
def help(self): help_text = self._insert_actions_help(viewer_help.strip()) tabview.TextBox(self.scr, help_text, "Key bindings")() self.resize()
def help(self): tabview.TextBox(self.scr, viewer_help.strip(), "Key bindings")() self.resize()
def text_box(self, contents, title): tabview.TextBox(self.scr, data=contents, title=title)() self.resize()