Re: Editable TreeView Cells



Murray Cumming wrote:
> 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
>
>   
Thanks, I already heave created my cell renders, however I thought that
it was a unnecessary measure.  So if it's the best solution I will keep
it in that way.

Thanks,
Filipe Apóstolo


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