Exemplo n.º 1
0
 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()
Exemplo n.º 2
0
 def show_logs(self):
     formatted = self._format_logs()
     tabview.TextBox(self.scr, data=formatted, title="Logs")()
     self.resize()
Exemplo n.º 3
0
 def help(self):
     help_text = self._insert_actions_help(viewer_help.strip())
     tabview.TextBox(self.scr, help_text, "Key bindings")()
     self.resize()
Exemplo n.º 4
0
 def help(self):
     tabview.TextBox(self.scr, viewer_help.strip(), "Key bindings")()
     self.resize()
Exemplo n.º 5
0
 def text_box(self, contents, title):
     tabview.TextBox(self.scr, data=contents, title=title)()
     self.resize()