![](/rp/kFAqShRrnkQMbH6NYLBYoJ3lq9s.png)
tkinter — Python interface to Tcl/Tk — Python 3.13.2 documentation
2 天之前 · The tkinter package (“Tk interface”) is the standard Python interface to the Tcl/Tk GUI toolkit. Both Tk and tkinter are available on most Unix platforms, including macOS, as well as on Windows systems.
Graphical User Interfaces with Tk — Python 3.13.2 documentation
2 天之前 · 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 tkinter package, and its extension, the tkinter.ttk module. The tkinter …
tkinter.ttk — Tk themed widgets — Python 3.13.2 documentation
2 天之前 · The tkinter.ttk module provides access to the Tk themed widget set, introduced in Tk 8.5. It provides additional benefits including anti-aliased font rendering under X11 and window transparency (requiring a composition window manager on X11).
Graphic User Interface FAQ — Python 3.13.2 documentation
2 天之前 · Standard builds of Python include an object-oriented interface to the Tcl/Tk widget set, called tkinter. This is probably the easiest to install (since it comes included with most binary distributions of Python) and use.
Tkinter Dialogs — Python 3.13.2 documentation
3 天之前 · The tkinter.filedialog module provides classes and factory functions for creating file/directory selection windows. Native Load/Save Dialogs ¶ The following classes and functions provide file dialog windows that combine a native look-and-feel with configuration options to customize behaviour.
tkinter.font — Tkinter font wrapper — Python 3.13.2 documentation
2 天之前 · The tkinter.font module provides the Font class for creating and using named fonts. The different font weights and slants are: tkinter.font. NORMAL ¶ tkinter.font. BOLD ¶ tkinter.font. ITALIC ¶ tkinter.font. ROMAN ¶ class tkinter.font. Font (root = None, font = None, name = None, exists = False, ** options) ¶ The Font class represents a ...
tkinter.messagebox — Tkinter message prompts — Python 3.13.2 …
1 天前 · The tkinter.messagebox module provides a template base class as well as a variety of convenience methods for commonly used configurations. The message boxes are modal and will return a subset of ( True , False , None , OK , CANCEL , YES , NO ) …
tkinter.colorchooser — Color choosing dialog - Python
1 天前 · The tkinter.colorchooser module provides the Chooser class as an interface to the native color picker dialog. Chooser implements a modal color choosing dialog window. The Chooser class inherits from the Dialog class.
tkinter.scrolledtext — Scrolled Text Widget - Python
3 天之前 · The tkinter.scrolledtext module provides a class of the same name which implements a basic text widget which has a vertical scroll bar configured to do the “right thing.” Using the ScrolledText class is a lot easier than setting up a text widget and scroll bar directly.
tkinter.dnd — Drag and drop support — Python 3.13.2 …
2 天之前 · The tkinter.dnd module provides drag-and-drop support for objects within a single application, within the same window or between windows. To enable an object to be dragged, you must create an event binding for it that starts the drag-and-drop process.