[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: custom TreeModel
- From: Jens Luedicke <jens luedicke gmail com>
- To: muppet <scott asofyet org>
- Cc: Gtk-Perl-List <gtk-perl-list gnome org>
- Subject: Re: custom TreeModel
- Date: Mon, 22 Aug 2005 18:16:57 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
muppet wrote:
>> Gtk-CRITICAL **: file gtktreeview.c: line 4827 (validate_visible_area):
>> assertion `has_next' failed.
>> There is a disparity between the internal view of the GtkTreeView,
>> and the GtkTreeModel. This generally means that the model has changed
>> without letting the view know. Any display from now on is likely to
>> be incorrect.
>>
>> I guess my clear() method isn't perfect.
>
>
> I can't recreate this with a little test program, so obviously i'm not
> exercising the broken code. Can you post some driver code that
> exhibits the problem?
the attached example shows the problem.
it is based on customlist.pl and I added a 'refresh' button
and a clear() method. clear should clear the treeview and clean the
$self->{rows} array.
- --
Jens Luedicke
web: http://perldude.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDCfp5iCvkc4H0gTERAiJAAJ9L+RNT0El0PtrHSGoccn3kTZkL8ACeOObF
S1JxIPqSE4DOT0sRTq9UPKc=
=WS4d
-----END PGP SIGNATURE-----
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]