muppet <sc...@asofyet.org> writes:
>
>     foreach my $path (reverse $selection->get_selected_rows ()) {
>         $model->remove ($model->get_iter ($path));
>     }

You know, after going through the TreeRowReference business I now
suspect a loop like that is enough :-).

(If a row-deleted signal handler causes more row deletions it may
invalidate the path and iter passed to further handlers - so don't do
that!  Meaning it's enough to remove() from the last towards the first
...)
_______________________________________________
gtk-perl-list mailing list
gtk-perl-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list

Reply via email to