On Sun, 2003-01-26 at 13:24, Emmanuel Di Pretoro wrote:
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
Tree models are reference counted.
I don't understand. What's reference counted ? I'm not native english,
so reference counted is surely something that I know, but what ;-))
Regards,
Manu
___
gtk-list mailing list
[EMAIL PROTECTED]
I don't understand. What's reference counted ? I'm not native
english, so reference counted is surely something that I know, but
what ;-))
This url might help explain:
http://wombat.doc.ic.ac.uk/foldoc/foldoc.cgi?reference+counting
OK, garbage collector, I know that ;-))
Hi,
Emmanuel Di Pretoro [EMAIL PROTECTED] writes:
OK, garbage collector, I know that ;-))
garbage collector is not the correct term here. GObject doesn't do
garbage collection as you usually refer to it. While reference
counting is often used with garbage collection it's not at all the
same
Salut,
garbage collector is not the correct term here. GObject doesn't do
garbage collection as you usually refer to it. While reference
counting is often used with garbage collection it's not at all the
same thing. Please don't confuse it.
I don't confuse it. But these techniques have the
On Mon, 2003-01-27 at 13:15, Emmanuel Di Pretoro wrote:
Tree models are reference counted.
I don't understand. What's reference counted ? I'm not native english,
so reference counted is surely something that I know, but what ;-))
This url might help explain:
Hi,
I've created a GtkTreeView with a GtkListStore to show a list of
authors. So, when I update my list of authors, how can I easily update
the GtkTreeView.
My list is sorted by name of authors, so, must I clear my GtkListStore,
and recreate it ?
Is it a better way ?
Manu
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