Linked by Eugenia Loli on Thu 8th Jun 2006 16:32 UTC
General Development Most computer users interact with their workstations primarily through some form of graphical user interface (GUI). In the world of Microsoft Windows, this interface is tightly controlled. The UNIX world, by contrast, offers a veritable smorgasbord of different GUIs with varying degrees of functionality. They range from minimalist window managers, such as twm, to large, capable tools, such as GNOME and KDE (K Desktop Environment). This article shows you how the Tcl/Tk scripting language offers a simple and elegant way to code GUI widgets with minimal effort.
Thread beginning with comment 131739
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE: Agreed
by sigzero on Fri 9th Jun 2006 00:45 UTC in reply to "Agreed"
Member since:

Except Gnome or KDE means you stay there. My Tcl/Tk application can go way more places. I use Perl for my web stuff. But I use Tcl/Tk for all my sysadmin stuff. If you haven't used it in any depth you aren't going to understand the richness of the language. It is really cool.

One thing I have to mention and that is the Tcl community is super friendly and helpful. I appreciate that a lot.

Tcl 8.5 is adding themeing to Tk (native l&f) and is going to add an object system to its core that is extendable. That should see the light of day this year.

As far as Windows goes, it has tcom and TWAPI that give you easy access to the internals of Windows.

The ability to easily pack the Tcl program into an EXE on Windows and a program on Unix is very nice as well.

This is by far the most fun I have had with a dynamic language.

Reply Parent Score: 4

RE[2]: Agreed
by DoctorPepper on Fri 9th Jun 2006 14:01 in reply to "RE: Agreed"
DoctorPepper Member since:

Except Gnome or KDE means you stay there. My Tcl/Tk application can go way more places.

How about this compromise: Use the Tk widget set, with the much better environments presented by Perl, Python or Ruby? I have used Perl/Tk and Python with Tkinter, and had the benefit of using those powerful languages, and yet still managing to have the cross-platform GUI available. True, Tk doesn't really provide a very "modern" GUI widget set, but it is useful and cross-platform.

On another though, if you use Python, you can use wxPython and have a cross-platform application. I do that all the time, writing one app that runs on both Windows and Linux.

Reply Parent Score: 1