Thanks! However, the link you sent me explains how to change the
background of cells when they are not selected. At least on my system,
the cells have the same (ubuntu orange) background when selected. I'm
looking for a way to change that color.

2009/6/29 Alessandro Dentella <[email protected]>:
> On Mon, Jun 29, 2009 at 08:15:19PM +0300, Noam Yorav-Raphael wrote:
>> Hello,
>>
>> TreeViews usually highlight the background of the selected cell. I
>> would like to change that color to white (the background of unselected
>> cells), so that a border would be drawn around the cell but its
>> background won't change.
>>
>> I tried using treeview.modify_bg(gtk.STATE_SELECTED,
>> gdk.color_parse('white')), but it had no effect.
>>
>> Do you have any idea how to do it?
>
> I think this explains what you need:
>
>  http://faq.pygtk.org/index.py?req=show&file=faq13.031.htp
>
> It works for me.
>
> sandro
> *:-)
> _______________________________________________
> pygtk mailing list   [email protected]
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://faq.pygtk.org/
>
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to