[Urwid] beginner help
Ian Ward
ian at excess.org
Fri Aug 3 23:31:41 EDT 2007
Pedro Jorge Caridade wrote:
> 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.
Hi Pedro,
Did you try w.set_focus()?
Ian
More information about the Urwid
mailing list