[Gtk-sharp-list] different color rows for GtkTreeView

Brad Taylor brad at getcoded.net
Mon Apr 28 14:10:58 EDT 2008


On Mon, 2008-04-28 at 13:00 -0500, Iggy wrote:
> In windows, it always chooses to ignore the Rules Hint. Does anybody
> know how to change that without having to change the users theme?

Just add:

style "rules-hint"
{
	GtkTreeView::allow-rules = 1
}

class "*" style "rules-hint

to their gtkrc in C:\Path\To\Gtk+\etc\gtk-2.0\gtkrc.  Medsphere Gtk#
installers[1] have shipped with rules-hinting enabled for a while now.

-Brad

--
[1]
https://sourceforge.net/project/showfiles.php?group_id=74626&package_id=223067



More information about the Gtk-sharp-list mailing list