[Urwid] beginner help
Pedro Jorge Caridade
caridade at qta.qui.uc.pt
Tue Jul 31 14:15:16 EDT 2007
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
Ian Ward wrote:
> Pedro Jorge Caridade wrote:
>
>> I going through Rebecca's example rbreu_filechooser.py to learn dynamic
>> ListBox. By trial-and-error I manage to understand the example (also
>> very well documented) but I have one question that I cannot solve in
>> trying to implement in my application. If I have two columns like
>> Rebecca's example and I want that only one of them have the focus? I'm
>> using a SimpleListWalker and a ListBox to construct the two columns.
>>
>
> You could use a two ListBoxes in a Columns if you want two separate
> scrolling areas.
>
> If you want the lists to scroll together but be independently selectable
> you can make each "side" of the ListBox rows a selectable widget and
> move the AttrWrap that highlights the selected item into the Columns.
>
> I hope that makes sense, I've spent too much time working on other
> projects recently.
>
> Ian
>
>
> _______________________________________________
> Urwid mailing list
> Urwid at lists.excess.org
> http://lists.excess.org/mailman/listinfo/urwid
>
>
>
More information about the Urwid
mailing list