Re: change treeview's cell height



On Thu, Jan 24, 2013 at 4:00 PM, Rudra Banerjee <rudra banerjee aol co uk>wrote:

  gtk_tree_view_set_rules_hint (GTK_TREE_VIEW(tree), TRUE);
the rules_hint are not working, i.e. I am not getteing alternative color
for each row.

I'm not an expert, but it probably means your default theme does not pay
attention to that hint. This could be harder to diagnose since every Gtk3
release has had an evolved theme, and your distro may be changing it as
well.

What I would do is learn how to use the GtkCssProvider and make the rows
the color you want.
http://developer.gnome.org/gtk3/stable/GtkCssProvider.html

Someone more knowledgeable than I might speak up though.



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