Re: [pygtk] Cell background in a TreeView

2005-11-17 Thread David Johansson
2005/11/17, Tim Evans <[EMAIL PROTECTED]>: > Try setting the property "cell-background-gdk" rather than "background-gdk". > > GtkCellRendererText::background-gdk colours the background of the text, > and excludes border areas and the like, while > GtkCellRenderer::cell-background-gdk colours the ba

Re: [pygtk] Cell background in a TreeView

2005-11-17 Thread Rob Marino
This is useful. Thanks Tim... Tim Evans wrote: David Johansson wrote: Hi, I want to change the background of an entire row in a TreeView. Basically I want to make my own 'rule hint', but instead of every other row I want to have bigger groups of rows with the same background. For example a l

Re: [pygtk] Cell background in a TreeView

2005-11-16 Thread Tim Evans
David Johansson wrote: Hi, I want to change the background of an entire row in a TreeView. Basically I want to make my own 'rule hint', but instead of every other row I want to have bigger groups of rows with the same background. For example a list with: 3 rows colour blue, then 2 rows colour re

[pygtk] Cell background in a TreeView

2005-11-16 Thread David Johansson
Hi, I want to change the background of an entire row in a TreeView. Basically I want to make my own 'rule hint', but instead of every other row I want to have bigger groups of rows with the same background. For example a list with: 3 rows colour blue, then 2 rows colour red, then 1 row colour blue