# 16.1 `Tkinter` -- Python interface to Tcl/Tk

The `Tkinter` module (``Tk interface'') is the standard Python interface to the Tk GUI toolkit. Both Tk and `Tkinter` are available on most Unix platforms, as well as on Windows and Macintosh systems. (Tk itself is not part of Python; it is maintained at ActiveState.)

See Also:

Python Tkinter Resources
  The Python Tkinter Topic Guide provides a great deal of information on using Tk from Python and links to other sources of information on Tk.

An Introduction to Tkinter
  Fredrik Lundh's on-line reference material.

Tkinter reference: a GUI for Python
  On-line reference material.

Tkinter for JPython
  The Jython interface to Tkinter.

Python and Tkinter Programming
  The book by John Grayson (ISBN 1-884777-81-3).

Subsections

- 16.1.1 Tkinter Modules
- 16.1.2 Tkinter Life Preserver
  - 16.1.2.1 How To Use This Section
  - 16.1.2.2 A Simple Hello World Program
- 16.1.3 A (Very) Quick Look at Tcl/Tk
- 16.1.4 Mapping Basic Tk into Tkinter
- 16.1.5 How Tk and Tkinter are Related
- 16.1.6 Handy Reference
  - 16.1.6.1 Setting Options
  - 16.1.6.2 The Packer
  - 16.1.6.3 Packer Options
  - 16.1.6.4 Coupling Widget Variables
  - 16.1.6.5 The Window Manager
  - 16.1.6.6 Tk Option Data Types
  - 16.1.6.7 Bindings and Events
  - 16.1.6.8 The index Parameter