On Sat, Mar 06, 2004 at 04:20:31PM +0100, Walter Anger wrote:
> On Sat, 6 Mar 2004 08:21:00 +0100
> Walter Anger <[EMAIL PROTECTED]> wrote:
>
> > On Sat, 06 Mar 2004 00:38:53 -0300
> > Phillip <[EMAIL PROTECTED]> wrote:
> >
> > have a look at the appended code. it is a "translation to python" of
> > one of the examples in the treeview-tutorial of Tim-Philipp M�ller.
> >
> > renderer.set_property("foreground","red")
> >
> > does the trick.
>
> got the information, that the code only changes the textcolor of a whole
> column. it is some months ago, that i made it. it was thoughtless,
> sorry.
>
> a supplement, a simple code, how one can achieve colorization for every
> cell(row) is in the first attachment. (change 'background' to
> 'foreground' to colorize text instead of the cell)
-> FAQ 13.31
http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq13.031.htp
Corrections and additions appreciated.
Take care,
--
Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/