mirror of
				https://github.com/python/cpython.git
				synced 2025-10-30 21:21:22 +00:00 
			
		
		
		
	 96d1eb1ec8
			
		
	
	
		96d1eb1ec8
		
	
	
	
	
		
			
			svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85732 | alexander.belopolsky | 2010-10-19 17:07:52 -0400 (Tue, 19 Oct 2010) | 3 lines Issue #7061: Fixed some of the issues in turtle module documentation reported by Terry J. Reedy. ........ r85778 | alexander.belopolsky | 2010-10-21 14:15:39 -0400 (Thu, 21 Oct 2010) | 1 line Issue #7061: Fixed section title ........ r85785 | alexander.belopolsky | 2010-10-21 18:29:36 -0400 (Thu, 21 Oct 2010) | 1 line Fixed a typo ........ r85853 | alexander.belopolsky | 2010-10-26 23:06:43 -0400 (Tue, 26 Oct 2010) | 4 lines Issue #7061: Dropped "for Tk" from turtle module title and moved its doc section under frameworks. Also fixed a couple of markup issues that affected TOC rendering. ........ r85930 | alexander.belopolsky | 2010-10-29 13:16:49 -0400 (Fri, 29 Oct 2010) | 1 line Issue 7061: Explained 'gon' ........ r86008 | alexander.belopolsky | 2010-10-30 20:51:11 -0400 (Sat, 30 Oct 2010) | 1 line Issues #7061, #10225: Fixed doctests in turtle manual ........ r86089 | alexander.belopolsky | 2010-11-01 11:45:34 -0400 (Mon, 01 Nov 2010) | 1 line Issue #7061: Simplified a section title. ........
		
			
				
	
	
		
			46 lines
		
	
	
	
		
			1.6 KiB
		
	
	
	
		
			ReStructuredText
		
	
	
	
	
	
			
		
		
	
	
			46 lines
		
	
	
	
		
			1.6 KiB
		
	
	
	
		
			ReStructuredText
		
	
	
	
	
	
| .. _tkinter:
 | |
| 
 | |
| *********************************
 | |
| Graphical User Interfaces with Tk
 | |
| *********************************
 | |
| 
 | |
| .. index::
 | |
|    single: GUI
 | |
|    single: Graphical User Interface
 | |
|    single: Tkinter
 | |
|    single: Tk
 | |
| 
 | |
| Tk/Tcl has long been an integral part of Python.  It provides a robust and
 | |
| platform independent windowing toolkit, that is available to Python programmers
 | |
| using the :mod:`tkinter` package, and its extension, the :mod:`tkinter.tix` and
 | |
| the :mod:`tkinter.ttk` modules.
 | |
| 
 | |
| The :mod:`tkinter` package is a thin object-oriented layer on top of Tcl/Tk. To
 | |
| use :mod:`tkinter`, you don't need to write Tcl code, but you will need to
 | |
| consult the Tk documentation, and occasionally the Tcl documentation.
 | |
| :mod:`tkinter` is a set of wrappers that implement the Tk widgets as Python
 | |
| classes.  In addition, the internal module :mod:`_tkinter` provides a threadsafe
 | |
| mechanism which allows Python and Tcl to interact.
 | |
| 
 | |
| :mod:`tkinter`'s chief virtues are that it is fast, and that it usually comes
 | |
| bundled with Python. Although its standard documentation is weak, good
 | |
| material is available, which includes: references, tutorials, a book and
 | |
| others. :mod:`tkinter` is also famous for having an outdated look and feel,
 | |
| which has been vastly improved in Tk 8.5. Nevertheless, there are many other
 | |
| GUI libraries that you could be interested in. For more information about
 | |
| alternatives, see the :ref:`other-gui-packages` section.
 | |
| 
 | |
| .. toctree::
 | |
| 
 | |
|    tkinter.rst
 | |
|    tkinter.ttk.rst
 | |
|    tkinter.tix.rst
 | |
|    tkinter.scrolledtext.rst
 | |
|    idle.rst
 | |
|    othergui.rst
 | |
| 
 | |
| .. Other sections I have in mind are
 | |
|    Tkinter internals
 | |
|    Freezing Tkinter applications
 | |
| 
 | |
| 
 |