[pygtk] GTK Warning with modelfilter
Yann Le Boulanger
asterix at lagaule.org
Thu Mar 29 04:40:23 WST 2007
Hi all,
I have a GTK Warning saying that:
GtkWarning: gtk_tree_model_filter_iter_has_child: assertion
`filter->priv->stamp == iter->stamp' failed
if iter and self.modelfilter.iter_has_child(iter):
the pygtk code before this line is this one:
try:
iter = self.modelfilter.convert_child_iter_to_iter(child_iter)
except RuntimeError:
# iter is not visible in filtered model
iter = None
if iter and self.modelfilter.iter_has_child(iter):
[...]
Did I misunderstood something with modelfilter ? Is there a problem in
my code ? I don't understand why this warning appear :/
Thanks for your help
--
Yann
More information about the pygtk
mailing list