Re: finding original cell background color in TreeView renderer



On Apr 29, 2008, at 11:40 AM, Armin Burgmeier wrote:

On Tue, 2008-04-29 at 08:49 -0500, Joaquim Schmidlap wrote:

I know I could query the background of some other cell in the row
that didn't change, or maybe stuff the color in the model somewhere,
but that feels a little funky to me. Seems like the TreeView must
know if a given row is odd or even, and therefore what the color
should be.

I guess setting property_background_set() to false in the CellRenderer
should do the trick.


Indeed it does. Thank you, Armin.

js


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]