Re: Editable TreeView Cells



On Mon, 2009-01-19 at 10:49 +0000, Filipe Apostolo wrote:
> Gtk::CellRenderer* pCellRenderer = get_column_cell_renderer
> (mListColumnsModel.DescriptionColumnID);

This seems to be a model column. But that function needs a view column
index.

Anyway, it's not wise to try to handle the signal if it is already
handled by the append_column_editable() convenience function's
cleverness. You need to create the cell renderer yourself, as described
in the book.
http://gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/sec-treeview.html#treeview-cellrenderer-details
and
http://gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/sec-treeview.html#treeview-editable-cells-custom

-- 
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]