3 *********************************
4 Graphical User Interfaces with Tk
5 *********************************
9 single: Graphical User Interface
13 Tk/Tcl has long been an integral part of Python. It provides a robust and
14 platform independent windowing toolkit, that is available to Python programmers
15 using the :mod:`Tkinter` module, and its extension, the :mod:`Tix` module.
17 The :mod:`Tkinter` module is a thin object-oriented layer on top of Tcl/Tk. To
18 use :mod:`Tkinter`, you don't need to write Tcl code, but you will need to
19 consult the Tk documentation, and occasionally the Tcl documentation.
20 :mod:`Tkinter` is a set of wrappers that implement the Tk widgets as Python
21 classes. In addition, the internal module :mod:`_tkinter` provides a threadsafe
22 mechanism which allows Python and Tcl to interact.
24 :mod:`Tkinter`'s chief virtues are that it is fast, and that it usually comes
25 bundled with Python. Although it has been used to create some very good
26 applications, including IDLE, it has weak documentation and an outdated look and
27 feel. For more modern, better documented, and much more extensive GUI
28 libraries, see the :ref:`other-gui-packages` section.
39 .. Other sections I have in mind are
41 Freezing Tkinter applications