Beispiel #1
0
 def message_view(self) -> Any:
     self.middle_column = MiddleColumnView(self, self.model, self.write_box,
                                           self.search_box)
     return urwid.LineBox(self.middle_column,
                          title='Messages',
                          bline='',
                          tline='━',
                          trcorner='│',
                          tlcorner='│')
Beispiel #2
0
 def middle_column_view(self) -> Any:
     self.middle_column = MiddleColumnView(self, self.model, self.write_box,
                                           self.search_box)
     return urwid.LineBox(self.middle_column,
                          title='Messages',
                          title_attr='column_title',
                          tline=COLUMN_TITLE_BAR_LINE,
                          bline='',
                          trcorner='│',
                          tlcorner='│')
Beispiel #3
0
 def message_view(self) -> Any:
     self.middle_column = MiddleColumnView(self, self.model, self.write_box,
                                           self.search_box)
     return urwid.LineBox(self.middle_column, bline="")
Beispiel #4
0
 def mid_col_view(self):
     return MiddleColumnView(self.model, self.write_box, self.search_box)
Beispiel #5
0
 def message_view(self) -> Any:
     w = MiddleColumnView(self.model, self.write_box)
     w = urwid.LineBox(w)
     return w