How to create nested listboxes in urwid?
问题 Is it possible to put ListBoxes inside of SimpleListWalkers ? I'm trying to make nested ListBoxes, but I have this error : AttributeError: 'MyListBox' object has no attribute 'rows' import urwid class MyListBox(urwid.ListBox): def focus_next(self): try: self.body.set_focus(self.body.get_next(self.body.get_focus()[1])[1]) except: pass def focus_previous(self): try: self.body.set_focus(self.body.get_prev(self.body.get_focus()[1])[1]) except: pass def handle_input(event): frame.header.set_text(