[pygtk] Differents CellRendererS on the same column

José Luis josel.segura at gmail.com
Sat Sep 20 02:06:52 WST 2008


Hi people!

This is my first message on the list.

I need to do a Tree View a little extrange: it only have 2 columns: the left
one will always be a string, and I can use CellRendererText for all the
rows. My problem is with the right column: I need a different renderer on
each row, for example:

In one row I would have a integer and I need a CellRendererSpin (for
example), or I would have a list of possible elements and I could use a
CellRendererCombo...

It would be possible? I think I can use CellRenderer and its method
"render", but I have no idea how to use it.

P.S. Excuse me for my bad English and thanks for all
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20080919/1ed6c27e/attachment.htm 


More information about the pygtk mailing list