[pygtk] color of selected row in TreeView

David M. Cook dave at davidcook.org
Mon Mar 29 11:43:29 WST 2004


On Sun, Mar 28, 2004 at 07:08:07PM -0500, Yann Le Boulanger wrote:

> I'd like to change the color of selected row in a treeview.
> As CellRenderer and TreeIter are not Widgets, I can't use
> style.bg[gtk.STATE_SELECTED]
> 
> Is there a solution ?

You can do that for the whole TreeView, but I don't think you can do that on
a cell-by-cell basis.

Dave Cook



More information about the pygtk mailing list