On 9/28/07, John Hunter <[EMAIL PROTECTED]> wrote:
> I have a gtk.Treeview and I want to format negative numbers in red, as
> you can do in excel for example.  I tried to use pango markup, as in
> the example below, but was unsuccessful -- what is the best way to do
> this?
>

I believe if you use pango markup in the cells you must use the markup
attribute and not the text attribute

column = gtk.TreeViewColumn('Ticker', gtk.CellRendererText(),
                           markup=0)
_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to