|
|
| laziness, impatience, and hubris | |
| PerlMonks |
Re: How do I close all Tk::Treeby hiseldl (Priest) |
| on Mar 31, 2003 at 18:07 UTC ( #247010=note: print w/ replies, xml ) | Need Help?? |
|
Basically you have to hide every node except the root node, and then call autosetmode().
This starts out with a (+) beside the root node, then when you expand the root node shows the next level in the tree each with a (+), then when you expand each node, it will show its children with a (+), etc. --
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||