Re: GTK-Treeview ( unallocate listStore )
- From: Keith Sharp <kms passback co uk>
- To: gtk-list gnome org
- Subject: Re: GTK-Treeview ( unallocate listStore )
- Date: Sat, 17 Jan 2004 10:28:34 +0000
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]