Re: colored lists..



mdew <mdew orcon net nz> writes:
Looking at the gtk2-demo, Tree View/Editable Cells...what function
causes the gtklists to showup in grey/white/grey/white..


gtk_tree_view_set_rules_hint().

This should only be used when you have multiple columns, though.

(The idea is to mark the tree view as one that benefits from rules due
to multiple columns you need to read across.  Themes can
enable/disable rules for all trees, only trees that would benefit,
etc.  as they see fit.)

Havoc



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