[EMAIL PROTECTED] wrote:
> Maybe you need an extra arg for "add_attribute()":
> 
> pColumn->add_attribute(..., ..., COL);
> 
> where COL is the column (int) of the model (Gtk::TreeStore or Gtk::ListStore)
> associated with the view

My problem has nothing to do with how to associate the cellrenderer with 
the right model column. That part of my code works perfect and a 
checkbox is shown next to the name in the treeview. The problem is I 
can't make the checkbox editable (e.g. I can't toggle the checkbox with 
a mouse click). However making the name editable does work.

This might be a gtk+ bug, because if I try do to the same with gtk+ 
functions, the result is the same:

g_object_set (pActive->gobj(), "activatable", true, NULL); // Fails
g_object_set (pName->gobj(), "editable", true, NULL); // Works

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

Reply via email to