Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is it possible to handle tree view control by Tcl/Tk

Status
Not open for further replies.

tmpalaniselvam

Programmer
May 14, 2000
68
IN
Hi!
Is it possible to handle tree view control by using Tcl/Tk?
Pls help me. Its urgent.

Thanks & Regards,
Palani.

 
OK, I'll bite: What do you mean by "tree control". There are several versions of a "directory tree" in Tk, but I have a hunch you're talking about something else. Bob Rashkin
rrashkin@csc.com
 
Hi!
I want simple tree view control, which can have the capability of images in nodes.Is it possible in Tcl/Tk?
Is it possible to store some values in tree view?
Can I develop Multiple Document Intterface in Tcl (like in VB)?

Thanks,
Palani.
 
You might also check out thread287-205803, where we discussed in a few different hierarchy/tree widgets available from different Tcl extensions.

And in general, I noticed that you've been asking a lot of questions indicating that you're a newcomer to the world of Tcl programming. So I thought I'd mention some resources that are available for learning more about Tcl.

To get started with Tcl/Tk, a good site to check out is The Tcler's Wiki, a collaboratively edited collection of pages at (or equivalently, Another place to check would be the Tcl Developer's Xchange at although that site is starting to suffer a bit of link rot.

The "bible" for Tcl is Practical Programming in Tcl and Tk, 3rd ed. by Brent Welch, ISBN 0-13-022028-0, an immensely useful book which I highly recommend. However, a better way to learn Tcl from scratch is Teach Yourself Tcl/Tk in 24 Hours by Venkat V. S. Sastry and Lakshmi Sastry, ISBN 0672317494. - Ken Jones, President
Avia Training and Consulting
866-TCL-HELP (866-825-4357) US Toll free
415-643-8692 Voice
415-643-8697 Fax
 
Hi, Jones!
Thanks for your valuable information. I try to develop an IDE, which consists of a XML editor and scheduler to some tasks. For XML Editor, I planned to use both tree view and grid(spread sheet) controls.
Now only I come to know about scripting languages. Using Tcl, we can give User Interface. Also Tcl can operate different Operating Systems. So that, I have chosen Tcl.
Thanks and Regards,
Palani.
 
If you're thinking of developing a Tcl application that contains an XML editor, I'd strongly recommend that you look at waX Me Lyrical (commonly referred to as "Wax"), an XML editor written in Tcl by Zveno, Zveno is the company that Steve Ball works for, and he's been primarily responsible for the development of the TclXML and TclDOM extensions for XML processing in Tcl applications. The Wax interface has both a text-based editor and a graphical tree view of your document's XML structure. Wax uses DOM events to keep the two displays synchronized, so as you make changes in one, they are reflected in the other.

Wax is an open-source project, so you can view how the application is constructed, and copy pieces that you find useful. The source is on SourceForge at There isn't a "released" version of Wax there, but you can browse and download the CVS repository for the application. - Ken Jones, President
Avia Training and Consulting
866-TCL-HELP (866-825-4357) US Toll free
415-643-8692 Voice
415-643-8697 Fax
 
Hi, Jones!
Thanks a lot! I have followed your way. Thanks and Regards,
Palani.
tmpalaniselvam@yahoo.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top