What is Tk?
Tk is a GUI library originally created by Dr. John Ousterhout while at the University of California in Berkley as an extension to his Tcl scripting language. The idea was to create a library of common graphical components that would make the creation of complex GUIs simpler, thus allowing the developer to concentrate his/her time on solving the more interesting problems presented by each unique application. Tk has many advantages that make it a useful GUI library to learn. Among these are its ease of use, language independence, and near infinite portability. Since its inception as an extension to the Tcl scripting language, Tk has been ported to nearly every platform imaginable and has been developed for use with several popular scripting languages, such as Perl and Ruby. Learning Tk gives you instant reusability since you can run your Tk-based applications on nearly any operating system, and since Ruby has also been ported to most platforms, the combination of the two means that you’l