Hi All,

Would someone be able to point me towards a good tutorial/simple example on how 
to use the following method?

$model->foreach ($func, $user_data=undef)
        * $func (subroutine) 
        * $user_data (scalar) 
Call $func on each row in $model. $func gets the tree path and iter
of the current row; if $func returns true, the tree ceases to be walked,
and $treemodel->foreach returns. 
I have been googling it and turning up heaps of references to the doco and 
something in the archives titled: 

Gtk2::TreeModel::foreach callback not getting any arguments?
but was hoping to get something simpler.

Many thanks for any suggestions.

ZM.


      
__________________________________________________________________________________
Win 1 of 4 Sony home entertainment packs thanks to Yahoo!7.
Enter now: http://au.docs.yahoo.com/homepageset/
_______________________________________________
gtk-perl-list mailing list
gtk-perl-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list

Reply via email to