On 04/19/2010 01:34 PM, Nicolas Soubeiran wrote: > When creating your model set a specific column with a boolean property. > e.g : > enum > { > STRING_COLUMN =0, > EDITABLE_COLUMN, > N_COLUMN > } > ... > gtk_list_store_new(N_COLUMN, G_TYPE_STRING, G_TYPE_BOOLEAN); > > Then in the treeview create a column using > gtk_tree_view_column_new_with_attributes("title", text_cell,"string", > STRING_COLUMN, "editable", EDITABLE_COLUMN, NULL); > > and when fillling your model precise which row is editable. > Hope this help, > regards >
Both replies seem to be saying the same thing, but I still don't understand why the attribute values need to be stored in other columns. Also I don't see how storing the attributes in other columns affect an individual cell. So this is the way to control the editability and sensitivity of a single cell without changing the cells above and below the cell in the same column. Does this apply for all attributes? Thanks, dhk _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list