Lines Matching refs:tkinter
1 :mod:`tkinter` --- Python interface to Tcl/Tk
4 .. module:: tkinter
9 **Source code:** :source:`Lib/tkinter/__init__.py`
13 The :mod:`tkinter` package ("Tk interface") is the standard Python interface to
14 the Tk GUI toolkit. Both Tk and :mod:`tkinter` are available on most Unix
18 Running ``python -m tkinter`` from the command line should open a window
19 demonstrating a simple Tk interface, letting you know that :mod:`tkinter` is
38 Online reference for tkinter supported by effbot.org.
46 `Python and Tkinter Programming <https://www.manning.com/books/python-and-tkinter-programming>`_
52 Most commands are available as :mod:`tkinter` or :mod:`tkinter.ttk` classes.
71 Most of the time, :mod:`tkinter` is all you really need, but a number of
78 In addition to the Tk interface module, :mod:`tkinter` includes a number of
79 Python modules, :mod:`tkinter.constants` being one of the most important.
80 Importing :mod:`tkinter` will automatically import :mod:`tkinter.constants`,
83 import tkinter
87 from tkinter import *
112 :mod:`tkinter.colorchooser`
115 :mod:`tkinter.commondialog`
118 :mod:`tkinter.filedialog`
121 :mod:`tkinter.font`
124 :mod:`tkinter.messagebox`
127 :mod:`tkinter.scrolledtext`
130 :mod:`tkinter.simpledialog`
133 :mod:`tkinter.dnd`
134 Drag-and-drop support for :mod:`tkinter`. This is experimental and should
178 corresponding :mod:`tkinter` call. Python programmers can often guess at the
194 * :file:`tkinter/__init__.py` is a last resort for most, but can be a good
203 import tkinter as tk
252 of a Tk command. (See section :ref:`tkinter-basic-mapping` for the
253 :mod:`tkinter` equivalents of what's below.)
326 :ref:`tkinter-setting-options` on setting options. ::
336 :file:`tkinter/__init__.py`. ::
343 :mod:`tkinter` are subclassed from the Packer, and so inherit all the packing
344 methods. See the :mod:`tkinter.tix` module documentation for additional
356 A Python application makes a :mod:`tkinter` call.
358 tkinter (Python Package)
360 the :mod:`tkinter` package, which is written in Python. This Python
373 widgets, and is executed once at the point where the Python :mod:`tkinter`
529 Unfortunately, in the current implementation of :mod:`tkinter` it is not
533 defined in :mod:`tkinter`.
544 import tkinter as tk
581 placement, icon bitmaps, and the like. In :mod:`tkinter`, these commands have
595 import tkinter as tk
763 displayed. You can use these :mod:`tkinter` functions to access these special
799 of :class:`tkinter.Image`:
829 import tkinter
830 widget = tkinter.Tk()
831 mask = tkinter.READABLE | tkinter.WRITABLE