Re: persisting iters
- From: Zach Bean <zb forty2 com>
- To: Jens Luedicke <jens luedicke gmail com>
- Cc: GTK2-Perl List <gtk-perl-list gnome org>
- Subject: Re: persisting iters
- Date: Sun, 28 Aug 2005 14:40:05 -0700
Jens Luedicke wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi...
what is the secret behind the flag 'iters-persist'?
and what do I need to change in my treemodel so that I can
use this flag?
 
"iters-persist" is used to indicate whether TreeIters are guaranteed to 
be valid for as long as the node they refer to is valid (like 
GtkTreeStore and GtkListStore).  Sometimes models have iterators that 
aren't valid after signals, etc., so their "iters-persist" flag is 
false.  (I think) models should also start using a new stamp when 
existing iterators become invalid, so they can detect when someone 
passes them an invalid one.
Hope this helps :o)
Zach
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]