Tk Tk

Tk - Definition and Overview

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:

Perl/Tk:

  • Perl/Tk manual (http://aspn.activestate.com/ASPN/docs/ActivePerl/site/lib/Tk.html), hosted by Activestate
  • Abridged Perl/Tk Tutorial (http://www.geocities.com/binnyva/code/perl/perl_tk_tutorial/index.html)

Ruby/Tk:

  • Ruby/Tk (http://www.rubycentral.com/book/ext_tk.html), a chapter in The Ruby book
  • Ruby/Tk demos (http://www.havenrock.com/developer/ruby-tk/), a zip archive

Example Usage of Tk

ToriShaffett: RT @AppleChannel: Wanna WIN an iPod touch? Follow @AppleChannel & RT this! 4 every 35 sold @ http://applechannel.Tk or http://u.nu/55vz3 ...
ToriShaffett: RT @AppleChannel: WIN an iPod nano? Follow @AppleChannel & RT this! 4 every 30 Nanos sold @ http://applechannel.Tk or http://u.nu/55vz3 ...
burrdnut: No substitute for web presence. learn how http://megatraffic.Tk
Copyright 2009 WordIQ.com - Privacy Policy  :: Terms of Use  :: Contact Us  :: About Us
This article is licensed under the GNU Free Documentation License. It uses material from the this Wikipedia article.