Hi.

On GTK+ 1.2, to add data to a row on a GtkClist, I used
gtk_clist_set_row_data.

I have an idea on how to get the same effect on GtkTreeView, for
example:

-Create a model with TREE columns.
-create the tree view for that model with TWO columns
-The "invisible" column would be the "row data".

If I want to store a struct on the model, I would use a G_TYPE_POINTER.

Is that a good idea? Is that right? Is that how is it suposed to be?

Thanks for your help.

_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to