[Urwid] Lots of progress bars (help pls)
ian at excess.org
Sat Nov 26 18:52:57 EST 2011
Yassen Damyanov wrote on 2011-11-24 12:12:
> Hello Ian and community!
> I'm new to urwid; trying to compose an application that needs to show
> lots (LOTS!) of progress bars at the same time. Could be some 10 to
> 20, of them, depending on external factors.
> I've been digging into urwid for a couple of days already but with a
> limited success. So I decided to ask for some help:
> (1) Would anyone suggest a widget class (or configuration of classes)
> that would let progress bars order themselves let's say 5 or 6 per
> row (all should be the same width). (A snippet of code would be
> highly appreciated.)
You want to make a grid of progress bars? You might be able to extend
GridFlow to do that sort of thing.
> (2) I would like that composite to have a border built using
> pseudo-graphical characters on a utf-8 console. Any suggestions for a
> suitable decorator (or how to build one) ?
Try reading the LineBox code and modify or extend to taste.
More information about the Urwid