On Friday, 3 of September 2010, Max E. Kuznecov wrote: > Hi. > It is almost exactly what I do in xyzcmd. I have a list of files and a > text widget showing its name, size, permissions etc. > So basically I override render() of my upper panel and inside it I > change text of info panel with simple set_text(). > Take a look: > http://github.com/syhpoon/xyzcmd/blob/master/libxyz/ui/panel.py#L987 Its's > _set_info() that does the job.
Yep. That does the trick and I thought about similar approach myself but I was wondering whether there is a simpler way, just using stock widgets as much as you can. :-) -- d'`'`'`'`'`'`'`'`'`'`'`'`'Yb `b [email protected] d' d' http://epsilon.eu.org/ Yb `b,-,.,-,.,-,.,-,.,-,.,-,.d' _______________________________________________ Urwid mailing list [email protected] http://lists.excess.org/mailman/listinfo/urwid
