Re: Treeviews: changing the color of column headers
- From: Stefan Salewski <mail ssalewski de>
- To: "Juan L. Freniche" <fdesp87 gmail com>
- Cc: gtk-list gnome org
- Subject: Re: Treeviews: changing the color of column headers
- Date: Sat, 13 Jun 2015 20:43:01 +0200
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]