Re: Going through a TreeStore
- From: Quentin Sculo <squentin free fr>
- To: Florian Schaefer <listbox netego de>
- Cc: Gtk-Perl <gtk-perl-list gnome org>
- Subject: Re: Going through a TreeStore
- Date: Wed, 19 May 2004 16:31:34 +0200
This time it should be right :) :
my $iter=$store->get_iter_first; # or starting point
while ($iter)
{ # do something
$iter=( $store->iter_children($iter)||$store->iter_next($iter) );
unless ($iter)
{ $iter=$store->iter_next($_) while
$_=$store->iter_parent($iter);
}
}
--
Quentin Sculo <squentin free fr>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]