[Urwid] beginner help

Pedro Jorge Caridade caridade at qta.qui.uc.pt
Thu Aug 2 10:59:24 EDT 2007


Hi again
My learning with examples is increasing. I have a small question: If I 
have a listbox:
l = [bt, urwid.Divider(), col]
w = urwid.ListBox( l )
(from bigtext.py example) and I want to have the default focus on the 
element "col" how can I do it? In other others, in the bigtext example, 
the focus is on the edit box, but I want on the first line of the fonts 
radio buttons.
Thanks
Pedro


Pedro Jorge Caridade wrote:
> Thanks Ian
>
> Since I'm also very busy I need it kick I have done it hard way: disable 
> the left and right keys. I will improve it in the future, hopefully.
>
> I could not find any reference to blink in the reference manual. However 
> I found some patch from Derek Peschel. Have someone tried in a Linux 
> console? Is it safe to patch it to 0.9.7.2 version?
>
> Pedro
>   





More information about the Urwid mailing list