Re: Editable TreeView Cells
- From: Murray Cumming <murrayc murrayc com>
- To: Filipe Apostolo <f apostolo cbr gmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: Editable TreeView Cells
- Date: Mon, 19 Jan 2009 23:01:26 +0100
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]