get_children or getChildren is standard fare for trees, gtk2, go figure
http://gtk2-perl.sourceforge.net/doc/pod/Gtk2/TreeView.html#treemodel_or_undef_t
http://gtk2-perl.sourceforge.net/doc/pod/Gtk2/TreeModel.html#treeiter_tree_model_
So I imagine
if( my $kids = eval { $tree->get_model->iter_children( $parent ) } ){ for my $kid ( @$kids ){ dance($kid); } }
In reply to Re: Gtk2::TreeView get all childs of a parent,an easy way ?
by Anonymous Monk
in thread Gtk2::TreeView get all childs of a parent,an easy way ?
by ultibuzz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |