gri6507 has asked for the wisdom of the Perl Monks concerning the following question:
I appologize for the potentially confusing title of this post, but I could not think of a better heading. I've been dubbed the task of creating a GUI interface to a "calibration procedure" for our inhouse-made system. In particular, our system may be calibration as a whole or in parts
System | |--Instrument1 | | | |--Test1 | |--Test2 | | | |--SubTest1 | |--Instrument2 etc
In other words, this structure fits well into the Hierarchial List widget structure. I was hoping to use Tk::DirTree as the widget because all of the basic methods are already defined. But since DirTree lists actual subdirectories, I was thinking of creating a "System" directory somewhere on the system with "Intrument" and "Test" subdirectories. Then, all I would have to do is to change the root of the DirTree to be my "System" directory and I would have what I want.
Can DirTree handle this? I tried chDir() but it didn't do anything. Should I just bite the bullet and use Tk::Tree instead and define everything myself? Thank you in advance.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Tk::DirTree list header
by Zeroth (Beadle) on Aug 11, 2003 at 13:10 UTC |