Re: Update a GtkTreeView
- From: Emmanuel Di Pretoro <edipreto skynet be>
- To: gtk-app-devel-list gnome org, gtk-list gnome org
- Subject: Re: Update a GtkTreeView
- Date: Sun, 26 Jan 2003 13:24:55 +0100
> My list is sorted by name of authors, so, must I clear my
> GtkListStore, and recreate it ?
OK, hereby the found solution :
When I've updated my database, I call 'gtk_tree_view_set_model' with as
args my GtkTreeView and a function creating a new model.
It works, but I don't know if it's really 'clean'. How can I free the
old model ?
Thanks and regards,
Manu
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]