Re: change treeview's cell height



Ok, no problem.
Thanks for your time though.
On Thu, 2013-01-24 at 16:21 -0800, Andrew Potter wrote:
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.
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list





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