Re: Treeviews: changing the color of column headers



On Tue, 2015-06-09 at 08:54 +0200, Juan L. Freniche wrote:
I am trying to change the color of the column headers of a treeview, 
with no sucess at all.

It is funny that currently many people try to change default colors of
GTK widgets. Of course generally that is not a good idea -- common sense
is to give users their default styles. Of course, for special
applications that may be OK. For tree view headers, I can remember that
I tried to chance something style related, and it worked after I added a
custom label widget as header text. See

http://www.daa.com.au/pipermail/pygtk/2009-February/016601.html

Try using a custom widget for the header using 
TreeViewColumn.set_widget()



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]