Re: Editable TreeView Cells



Hi,

I understand what you say, but is not wise to use the signal
connect_notify () method to catch the desired signal?

Exist situations where we just want to backup the text and creating my
own cell renderer for this is too much work.

Best regards
Pedro Sousa

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



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