Re: Update a GtkTreeView



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]