That was my first thought, but after looking at it closer I have some problems with that widget. I would appreciate if someone knows what can I do to solve them!:
- It arranges each widget in a cell from left to right and top to bottom, not it columns and rows. - The width of each cell is fixed. That means that the entire width of the table is also fixed in the code. I would prefer to be automatically adjusted based on the available rows of the terminal. - I don't see a (easy) way of adding a LineBox to each cell. Thanks! El 2013-08-01 15:13, Abhinav Singh escribió: > I am myself new to urwid, but I assume Gridflow widget might help you here: > > http://excess.org/urwid/docs/manual/widgets.html#included-widgets [2] > http://excess.org/urwid/docs/reference/widget.html#urwid.GridFlow [3] > > On 01-Aug-2013, at 6:38 PM, Oscar <[email protected]> wrote: > >> Hi, >> >> Does anyone know the best way to create a table widget? I just need a >> simple table (6 columns x 20 rows) like those you can do with HTML. >> >> Thanks! >> >> _______________________________________________ >> Urwid mailing list >> [email protected] >> http://lists.excess.org/mailman/listinfo/urwid > > _______________________________________________ > Urwid mailing list > [email protected] > http://lists.excess.org/mailman/listinfo/urwid [1] Links: ------ [1] http://lists.excess.org/mailman/listinfo/urwid [2] http://excess.org/urwid/docs/manual/widgets.html#included-widgets [3] http://excess.org/urwid/docs/reference/widget.html#urwid.GridFlow
_______________________________________________ Urwid mailing list [email protected] http://lists.excess.org/mailman/listinfo/urwid
