Re: turning on grid lines in a TreeView



On Wed, 2007-01-03 at 16:21 -0600, Allen wrote:
> Thanks Paul,
> 
> I've got 
> set_rules_hint (true)  but I do not know about the "style engine" or how to control it.  The methods I'm looking @ in the Gtk::TreeView are:
> 
> void Gtk::TreeView::set_grid_lines(TreeViewGridLines g_lines)
> Glib::PropertyProxy<bool> Gtk::TreeView::property_enable_grid_lines()
> 
> and neither one work - not in the gtkmm dll.
> 
> I've looking on line, too, and have not found code examples to do this.  If set_rules_hint(true) actually enables the grid lines, then how does the style engine override this?

sorry, i'm answering a different question. i've never used grid lines.
the rules hint can be used to turn on alternating colors for the
treeview rows. its not related to grid lines.

--p





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