Re: Treeview with editable checkboxes besides items?



On Tue, 2007-06-19 at 12:03 +0200, Jef Driesen wrote:
> I still don't understand why I need to update the model myself with a 
> CellRendererToggle. Because for a CellRendererText, all I need is:
> 
> renderer->property_editable() = true; 

No, that won't be enough.

This is why we have the append_column_editable() helper methods:
http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1TreeView.html#83d537226bbbb054aa792c03248e619f

-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




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