[pygtk] how to get tabular data in a textview

Steve McClure smcclure at racemi.com
Sat Mar 7 04:19:36 WST 2009


On Mar 6, 2009, at 1:43 PM, shawn bright wrote:

> Hey all,
>
> I have a textview that is really busy in my application. Lots of stuff
> scrolling all the time.
> So, what i would like is some way to get my columns of data to line  
> up.
>
> Using \t doesn't do too much for this.
>
> What would be perfect would be if the the textview could render html,
> like a table, but even if i need to do something different than a
> textview, i am willing to learn and use some other tool in pygtk.

It sounds like you might want a listview instead of textview. Unless  
by "scrolling" you mean entering and leaving the view all the time.   
In that case you might just want to use a fixed width font in the  
textview.

>
> thanks for any tips or advice.
>
> shawn
> _______________________________________________
> pygtk mailing list   pygtk at daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://faq.pygtk.org/
>
>
>

--
Steve McClure
smcclure at racemi.com



More information about the pygtk mailing list