A Seg, 2004-04-12 �s 07:31, Benjamin Collar escreveu: > Greetings > > In the FAQ I found out how to alternate the colors of rows in a TreeView. I'm > using what is suggested--change the .gtkrc-2.0 file--but I've got one > problem. I'm using multiple columns, and when the user clicks a column (for > sorting) then that column, and *only* that column, gets different colors. > It's a very odd effect for the user in the end. > > What I want is for row color to extend across all columns. Can anyone give me > a clue?
I think this is intentional, to provide better feedback to the user as to which column is being used for sorting. It just takes a bit getting used to. I personally enjoy it. But I'm afraid I don't know the details of how to change that. Sorry... Anyway, I think you should focus on the application itself and not worry so much about the fine details of the tree view. Or if you can't help but worry about these finer details, then you should be making a new gtk theme. ;-) In any case, mixing application logic with presentation is not a good idea. Let HTML+CSS serve as example. Regards. -- Gustavo J. A. M. Carneiro <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
