[pygtk] color of selected row in TreeView
Yann Le Boulanger
86asterix at chez.com
Mon Mar 29 20:49:12 WST 2004
David M. Cook wrote:
> 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
>
I'm sorry it's not what I meant.
When you click on a row in a treeview it becomes selected and so it
becomes blue (gray when the window is not focused). I'd like to change
this background color, if it's possible.
thanks for help
Asterix
More information about the pygtk
mailing list