Ian,

I did as you suggested and removed the AttrWrap widget from all the
Text widgets, leaving just the one that goes around the Column widget,
and now nothing is highlighted.

Here are three screenshots of what I'm getting:
http://upload.jkvl.com//files/2/no_column-text_only.jpg is of the
placeholder I was using previously,
where the row highlighter was working properly.
http://upload.jkvl.com//files/2/no_column-text_only.jpg is the after I
implemented your suggested and
removed teh attrwrap from each individual Text widget, and just left
the one that was wrapping the entire Column widget.

Thinking the reason for the AttrWrap widget not working was because of
the Column widget, I got rid of the formatting and used a Text widget.
The last screenshot,
http://upload.jkvl.com//files/2/no_column-text_only.jpg shows the
results
of this test... interestingly enough, still no row highlighter shows.

Here's an example of the markup I'm using:
[('new index', 'Jxx 77'), [('new index',
'[email protected],'), ('new index',
'[email protected]')], ('new index', '7'), ('new
index', 'RxDPTI Bxxxx Rxxxxx'), ('index label', ''), ('index sample',
'xxxxxx: PTI Bxxxx Pxxxxxxxx: STARTED... xxxxxx: PTI Bxxxx Pxxxxxxxx:
Rxxxxxxxx x')]



Rereading your email I had another idea and made one more change which
made the cause obvious: the screenshot
http://upload.jkvl.com//files/2/voila_the_problem_revealed.jpg
tells the story.

So does this mean my only choice is to switch over to the developmental version?

Dominic

On Tue, Jul 28, 2009 at 7:34 AM, Ian Ward<[email protected]> wrote:
> Dominic LoBue wrote:
>> Is the Columns widget the only way to squish several text widgets into
>> a single row? The Column widget formats text the way I want it
>> (basically), but focus now constrained to just one small part of the
>> row rather than the whole row.
>
> If all you want to do is highlight the whole row, put your AttrWrap
> around the Columns widget instead of the Text widgets.
>
> Also, the development version now has a replacement for AttrWrap called
> AttrMap.  With AttrMap you can specify a dictionary of {old_attribute:
> new_attribute, ...} values so you can cause a number of different
> attributes to change when in focus, like in the case where some of the
> values you are highlighting already have attributes specified.
>
> Ian
>
>
> _______________________________________________
> Urwid mailing list
> [email protected]
> http://lists.excess.org/mailman/listinfo/urwid
>
>


_______________________________________________
Urwid mailing list
[email protected]
http://lists.excess.org/mailman/listinfo/urwid

Reply via email to