Hello,

I was wondering if someone could advise on a way of doing conditional
colouring of cells. Say I have:

-----|------|
 one | four |
-----|------|
 two | five |
-----|------|
three|  six |

And I wanted to give each cell a different colour (based on its contents
or cell data.) How would I do it?

CellRendererText seems to apply the background/foreground colours to the
whole column.

Do I need to implement my own cell renderer?

I may be able to do it with treeview.get_cell_area, but I'm not sure how
to pass in the GdkRectangle argument.

Please advise.

Regards,
Omar Kilani

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to