On Thu, 2005-02-24 at 23:12 +0100, Diego Fdez. DurÃn wrote:
> Please I really need to know if this is posible. My work is stoped until
> I can do it.
> 
>  Please.
> 
> El miÃ, 23-02-2005 a las 20:11 +0100, Diego Fdez. DurÃn escribiÃ:
> > 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 think you mean that the cellrenderer is not editable.

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

Use get_cell_renderers(), or create the CellRenderer yourself, as the
example shows.

-- 
Murray Cumming
[EMAIL PROTECTED]
www.murrayc.com
www.openismus.com

_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to