Bryant Huang wrote:
Hello,
I've spent the last 3 hours trying to figure out how to highlight
text in a TreeView cell. I found the example at
http://www.pygtk.org/pygtk2tutorial/sec-CellRenderers.html#sec-CellRendererTextMarkup
but have been unable to replicate the same behavior in my own
project.
Here are the relevant excerpts from my code, simplified slightly: > <snip>
What am I doing incorrectly? I've tried this on Fedora Core 3 and 4
with the same results.
In your add_results_column method, you have markup=0 where it should be
markup=column_id. That threw me for quite a while too. I think that if
you make that change, it should work as you expect.
Kurt
--
Kurt Symanzik
[EMAIL PROTECTED]
Skype id: ksymanzik
http://kbsymanzik.org
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/