Re: GTK-Treeview ( unallocate listStore )

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 /


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