« Return to Thread: finding original cell background color in TreeView renderer

Re: finding original cell background color in TreeView renderer

by Joaquim Schmidlap :: Rate this Message:

Reply to Author | View in Thread

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
_______________________________________________
gtkmm-list mailing list
gtkmm-list@...
http://mail.gnome.org/mailman/listinfo/gtkmm-list

 « Return to Thread: finding original cell background color in TreeView renderer

LightInTheBox - Buy quality products at wholesale price