Re: GTK-Treeview ( unallocate listStore )

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2004-01-16 at 18:33, Chris De Maeyer wrote:

> On Fri, 2004-01-16 at 13:50, Brice LEROY wrote:
> > Hello,
> >         I looking for a solution to deallocate a liststore loaded in a
> > treeview. If you know a function to get the pointer to the
> > gtk_list_store loaded in a treeview to delete with g_free() this
> > variable.

> g_object_unref (G_OBJECT (store));

And before this you will need to:

store = gtk_tree_view_get_model (treeview);

You will need to be careful with types and casts GTK_TREE_MODEL /
GTK_LIST_STORE.

Keith.

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux