Re: custom TreeModel



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

re-send to the list as well.

muppet wrote:

On Aug 21, 2005, at 3:38 PM, Jens Luedicke wrote:

if I call Filer::ListStore->new:

Can't locate object method "new" via package "Filer::ListStore" at
/home/jens/devel/filer/Filer/FilePane.pm line 96.

I wonder why it doesn't work - my implementation is basically the same
thing as CustomList.


Code?


This is how it looks like now (code attached).

the following error comes up after clearing and appending new items:

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.

Jens

- --
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

iD8DBQFDCaCgiCvkc4H0gTERAkqdAKDn98P7qexpG3x+CPDswIcv1A5BnwCgwCTO
ajkThfZjfQc/YXdVKbfGtaI=
=UEEn
-----END PGP SIGNATURE-----

Attachment: ListStore.pm
Description: Perl program



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]