llancet has asked for the wisdom of the Perl Monks concerning the following question:
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: a Tree that can fold and unfold
by GrandFather (Saint) on Sep 19, 2008 at 09:37 UTC | |
Tree and HList both support that feature. Look at the documentation for hide and show methods in the documentation for HList, and for the -state => 'normal'. The trick however is that you must call setmode on each node in the tree to set its initial state.
Perl reduces RSI - it saves typing | [reply] [d/l] [select] |
by llancet (Friar) on Sep 19, 2008 at 10:22 UTC | |
| [reply] |
by GrandFather (Saint) on Sep 19, 2008 at 10:33 UTC | |
Happy to help. It was a while ago that I first used Tk::Tree, but I seem to remember it took some time to figure out what the trick was! Perl reduces RSI - it saves typing | [reply] |
|
Re: a Tree that can fold and unfold
by zentara (Cardinal) on Sep 19, 2008 at 12:35 UTC | |
I'm not really a human, but I play one on earth Remember How Lucky You Are | [reply] [d/l] |
|
Re: a Tree that can fold and unfold
by parv (Parson) on Sep 19, 2008 at 09:36 UTC | |
| [reply] |
|
Re: a Tree that can fold and unfold
by vkon (Curate) on Sep 19, 2008 at 11:10 UTC | |
| [reply] |