In windows, it always chooses to ignore the Rules Hint. Does anybody know how to change that without having to change the users theme?
On Mon, Apr 28, 2008 at 12:57 PM, Peter Johanson <[EMAIL PROTECTED]> wrote: > On Sun, Apr 27, 2008 at 02:34:16AM -0400, Tim Howard wrote: > > I think this is appropriate material for this list. I'm trying to have > > a TreeView with a ListStore have rows that are different colors. I'm > > pretty sure it's possible, because it looks like it's the case with > > MonoDevelop and User Tasks/Comments. The question is, how? > > (Point of clarity: First row be red, second row be green -- that's all. > > I guess more generally, how do you control the row color as opposed to > > the column color) > > If you want to enable that, it's supported directly by Gtk.TreeView. > Look at Gtk.TreeView.RulesHint property. The gtk+ docs for this are at: > > > http://library.gnome.org/devel/gtk/stable/GtkTreeView.html#GtkTreeView--rules-hint > > Not that this is just a *hint*, and a theme can choose to ignore it if > it really wants to. > > -pete > _______________________________________________ > Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/gtk-sharp-list > > _______________________________________________ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/gtk-sharp-list