[pygtk] Change color of tree view column header
John Finlay
finlay at moeraki.com
Wed Jun 15 06:04:29 WST 2005
Hussein Vastani wrote:
>Hello All,
>Quick question, how do I change the background color of a TreeView Column
>header? I have few columns in my tree view and i want to change the background
>color (not the title color), of the even numbered column headers.
>The TreeView column class does not seem to have any attribute to do that? Is
>it possible to do it?
>
>
Not easily and not safely. I suspect that doing this violates HCI
guidelines. The title is a button with a label or other widget in it.
there's no approved way to access the button to change the background
color. As an alternative you could make the background color of the
cells in a column different colorsby setting the background property of
the cellrenderers.
John
More information about the pygtk
mailing list