Пример #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='│')
Пример #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='│')
Пример #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="")
Пример #4
0
 def mid_col_view(self):
     return MiddleColumnView(self.model, self.write_box, self.search_box)
Пример #5
0
 def message_view(self) -> Any:
     w = MiddleColumnView(self.model, self.write_box)
     w = urwid.LineBox(w)
     return w