[Urwid] ListBox, focus and colors

Bernardo Torres bernardojts at gmail.com
Fri Apr 28 00:03:23 EDT 2006


In the tutorial, there's a ListBox that changes colors when focus
changes. I've used this:
urwid.AttrWrap(urwid.Text(mod), 'module', 'focustext') in the ListBox,
thinking 'focustext' would be used in focus, but none happened.
Cya,
Bernardo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diag
Type: application/octet-stream
Size: 2510 bytes
Desc: not available
Url : http://lists.excess.org/pipermail/urwid/attachments/20060428/c643884e/diag.obj


More information about the Urwid mailing list