Re: toggle button in TreeView not editable - appended with append_column_editable



On Sat, 2007-10-27 at 19:51 +0200, Christopher Lang wrote:
> how lucky:
> 
> I just tried to put the line:
> 
> 	sub1_treeview1->set_model (profile_tree_model);
> 
> right after the 
> 
> 	Gtk::ListStore::create
> 
> and voila! It works, the bool is editable.
> 
> Obviously the model needs to be set *before* append_column_editable.

Interesting. I wonder if we can avoid that restriction. If not, we
should document it.

-- 
murrayc murrayc com
www.murrayc.com
www.openismus.com



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