forked from lilypolonetsky/datastructures-applets
-
Notifications
You must be signed in to change notification settings - Fork 38
Tkinter
John Canning edited this page Oct 6, 2020
·
7 revisions
Tkinter is the Python interface to Tk, a toolkit for making graphical user interfaces. Tk can be used from many different languages, each one with its own syntax.
- The
tkinterPython module is among the standard library modules described at https://docs.python.org/3/library/tkinter.html. This documentation provides an overview, not a detailed API specification, to Tk. - The
ttkextension to Tk introduced more widgets and styling options. It's also described at https://docs.python.org/3/library/tkinter.ttk.html. The docs.python.org page for ttk is a more thorough, but not complete, API specification. - A more thorough API specification for
tkinterused to be maintained by New Mexico Tech and is available here and archived here. - For those new to Tk and
tkinter, here are some good starting points:- Tkinter Tutorial
- the online book An Introduction to Tkinter (Work in Progress) is a good place to read about the basics.
- For more information about Tk in general and how it can be accessed from various programming languages, see https://tkdocs.com/.
- The first language to use Tk was Tcl, a command-line language like the shell. You can learn more about Tcl commands and Tk and ttk specific commands at the http://www.tcl.tk website.