Stefano Esposito ha scritto lo scorso 03/02/2005 21:48:
Hi all, i'm a newbie, so... excuse me about this boring question :)
using this code:
...
GtkTreeIter *iter;
GtkListStore *list;
...
list = gtk_list_store_new(3, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, -1);
gtk_list_store_append(list, iter);
...
gives me this error:
(prova:16128): Gtk-CRITICAL **: file gtkliststore.c: line 1321 (gtk_list_store_append): assertion `iter != NULL' failed
which makes me think of a kind of inizialization for the iter... I red the api documentation, but I didn't find anything which seems usefull to me... Any hint?
Take a look at Tim Mueller's tutorial:
http://scentric.net/tutorial/treeview-tutorial.html
_______________________________________________
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list