Re: change treeview's cell height
- From: Andrew Potter <agpotter gmail com>
- To: GTK Devel List <gtk-app-devel-list gnome org>
- Subject: Re: change treeview's cell height
- Date: Thu, 24 Jan 2013 16:21:25 -0800
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]