Re: Different Background-Color for even/odd Rows in TreeView



Leandro Fanzone wrote:

Optionally you can use TreeView.set_rules_hint()...

thomschu wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi ,
how can I change the background-color for a TreeView, so that even and
odd Rows
have a different color.
I have a TreeView with Entries which have child, so you can expand and
collaps the View ....
I tried already to change the background-color with
CellRendererText->property_background_gdk(),
but so I can only access the background of my cells, but not the area
with the arrows to expand and
collapse the entries .......

Actually what I want is just like the standard-behaviour of the
TreeView - white/light-blue background
for even/odd rows. The problem is, that the TreeView behaves only
under Linux/Unix like this, under
Windows the background is only white.

thanks

gizmo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEDs9JWtOLqJ6H0JYRAvL7AKCWSfQwfmTlh24W0xu9UzJXLm+6CACgu2+X
hFFlnYFNzjjqb3EkBRdaJQs=
=DGu4
-----END PGP SIGNATURE-----

_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list


_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Correct, but set_rules_hint doesnt work unless the current theme uses treeview ruling

Jason

--
Jason Burchfield
CAS, Inc.
(256) 971-6096
Jason.Burchfield at cas-inc dot com




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