Re: Spontaneous background colors in treeview

2007-10-30 Thread Kristian Rietveld
On Thu, Oct 25, 2007 at 10:43:52AM -0600, Jeffrey Barish wrote: Kristian Rietveld wrote: When you sort a column in a tree view with = 3 columns, the sorted column is drawn with a background that is slightly darker than the default background (in the default theme it is a shade of grey).

Re: Spontaneous background colors in treeview

2007-10-25 Thread Jeffrey Barish
Kristian Rietveld wrote: When you sort a column in a tree view with = 3 columns, the sorted column is drawn with a background that is slightly darker than the default background (in the default theme it is a shade of grey).  This is the default and correct behavior. What is the rationale for

Re: Spontaneous background colors in treeview

2007-10-11 Thread Jeffrey Barish
Andrew Cowie wrote: On Wed, 2007-10-10 at 19:45 -0600, Jeffrey Barish wrote: I believe that the manual is wrong when it says that an arrow appears. One most certainly does appear when you click on the header to sort. Do you have gtk_tree_view_column_set_headers_visible() set to true?

Re: Spontaneous background colors in treeview

2007-10-10 Thread Jeffrey Barish
Mikael Hallendal wrote: Would it be possible to provide a screenshot that shows the problem you are seeing? It now appears that I fell victim to misleading documentation. The reference manual says that setting the sort indicator to true causes an arrow to appear in the header button

Re: Spontaneous background colors in treeview

2007-10-10 Thread Andrew Cowie
On Wed, 2007-10-10 at 19:45 -0600, Jeffrey Barish wrote: I believe that the manual is wrong when it says that an arrow appears. One most certainly does appear when you click on the header to sort. Do you have gtk_tree_view_column_set_headers_visible() set to true? That's where the arrow shows

Re: Spontaneous background colors in treeview

2007-10-04 Thread Mikael Hallendal
4 okt 2007 kl. 06.26 skrev Jeffrey Barish: Hik Kristian Rietveld wrote: Hi, On Mon, Oct 01, 2007 at 11:30:58AM -0600, Jeffrey Barish wrote: Stop presses. It's the number of columns. All data sets that require 3 columns have a background. All data sets that require 2 columns do

Re: Spontaneous background colors in treeview

2007-10-03 Thread Kristian Rietveld
Hi, On Mon, Oct 01, 2007 at 11:30:58AM -0600, Jeffrey Barish wrote: Stop presses. It's the number of columns. All data sets that require 3 columns have a background. All data sets that require 2 columns do not. Here it is. If I comment out the line that sets the sort indicator, I do not

Re: Spontaneous background colors in treeview

2007-10-03 Thread Jeffrey Barish
Kristian Rietveld wrote: Hi, On Mon, Oct 01, 2007 at 11:30:58AM -0600, Jeffrey Barish wrote: Stop presses. It's the number of columns. All data sets that require 3 columns have a background. All data sets that require 2 columns do not. Here it is. If I comment out the line that sets

Re: Spontaneous background colors in treeview

2007-10-01 Thread Jeffrey Barish
Kristian Rietveld wrote: To get the alternating colors you would set the rules-hint property on GtkTreeView to TRUE (the default is FALSE).  If you do not set this property to TRUE, the background should always be a solid color.  Also note that rules-hint is only a hint to the theme engine;

Spontaneous background colors in treeview

2007-09-30 Thread Jeffrey Barish
After making some changes to my program (not directly related to the GUI), I find that one treeview has a background of alternating light and dark bands, but only for certain data sets. I never set the background in my code, so I expect it to be white for every data set. The program has this

Re: Spontaneous background colors in treeview

2007-09-30 Thread Yeti
On Sun, Sep 30, 2007 at 11:08:05AM -0600, Jeffrey Barish wrote: After making some changes to my program (not directly related to the GUI), I find that one treeview has a background of alternating light and dark bands, but only for certain data sets. I never set the background in my code, so I

Re: Spontaneous background colors in treeview

2007-09-30 Thread Kristian Rietveld
On Sun, Sep 30, 2007 at 11:08:05AM -0600, Jeffrey Barish wrote: After making some changes to my program (not directly related to the GUI), I find that one treeview has a background of alternating light and dark bands, but only for certain data sets. I never set the background in my code, so I