Tk
From open-encyclopedia.com - the free encyclopedia.
This article is about the Tk widget toolkit in computing. Tk is also
- an abbreviation used in journalism to indicate "to come" or forthcoming.
- the ISO country code for the islands of Tokelau (TK).
- the ISO language code for the Turkmen language (tk).
In computing, Tk is an open source, cross-platform widget toolkit, that is, a library of basic elements for building a graphical user interface (GUI).
Tk was developed by John Ousterhout as an extension for the Tcl scripting language. Through so called "bindings", Tk can be used under other languages, such as Perl, Python, and Ruby. Perl/Tk is probably more widely used than Tcl/Tk; on Unix systems, "man Tk" brings up the documentation of Perl/Tk.
Tk has been ported to run on most flavors of Linux, Apple Macintosh, Unix, and Windows. Since Tcl/Tk 8, it offers "native look and feel" (for instance, a menubar is placed differently on the Mac than under Windows or Linux/X11).
Like Tcl, Tk fully supports unicode.
External links
Generic Tk and Tcl/Tk:
- Tcl and Tk website
- Tk commands, on the Tcl/Tk website
- Tcl/Tk cookbook
Perl/Tk:
- Perl/Tk manual, hosted by Activestate
Ruby/Tk:
- Ruby/Tk, a chapter in The Ruby book
- Ruby/Tk demos, a zip archive
de:Tk zh:Tk