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/