Pixbuf & Text Editable Model Colum in one TreeView Column



Hello

I've a Pixbuf Model Column and a Text Model Column in one TreeView
Column, but i need edit the text!

Now i do the folowing:

------------------

Gtk::TreeView::Column* fileColumn = Gtk::manage( new
Gtk::TreeView::Column(_("Nombre de Archivo")) ); 
	
fileColumn->pack_start(m_Columns.m_col_icon, false); //false = don't
expand.
fileColumn->pack_start(m_Columns.m_col_name);

file_treeView.append_column(*fileColumn);

-----------------

The code joins the 2 columns in 1 view column, but i can't edit the text
of the m_col_name column. I've tryed the code examples from the gtkmm
tutorial. 

How can i get the cell renderer of the m_col_name in the column and then
do cell->property_editable() = true; ?

Please Help !

Thanks in advance

-- 
-----------------------------------
Diego Fdez. Durán <diego goedi net>
Web: http://www.goedi.net
GPG ID: 90D266BB
-----------------------------------

Attachment: signature.asc
Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente



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