[Urwid] question : how to display python list using listbox

bino oetomo bino at indoakses-online.com
Fri Sep 9 05:22:28 EDT 2011


On 09/09/2011 03:39 PM, Alain Leufroy wrote:
> Hi,
>
>
> You can try this - I'm sorry for colors :)
>
> from urwid import *
>
> class SelectableText(Text):
>       """Just a selectable Text widget"""
>       _selectable = True
>       keypress = lambda self, size, key: key
>
...

I realy appreciate your enlightment.

about the colour , no problem at all .. remind me to the age of "WordStar"

Your script is very "readable".

Sincerely
-bino-



More information about the Urwid mailing list