Re: Going through a TreeStore



Sorry, I didn't understand what you wanted,
this should be better :
my $iter=$store->get_iter_first;
do
{ #do something for each $iter
} while ($iter=(
        $store->iter_children($iter)
        ||$store->iter_next($iter)
        ||$store->iter_parent($iter)
  ));

-- 
Quentin Sculo <squentin free fr>




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