
tkinter — Python interface to Tcl/Tk — Python 3.13.2 documentation
3 天之前 · 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
3 天之前 · 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).
tkinter.colorchooser — Color choosing dialog - Python
3 天之前 · 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.font — Tkinter font wrapper — Python 3.13.2 documentation
4 天之前 · 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 ...
Graphic User Interface FAQ — Python 3.13.2 documentation
5 天之前 · 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.
24.1. Tkinter — Python interface to Tcl/Tk — Python 2.7.18 文档
2018年2月7日 · Tkinter — Python interface to Tcl/Tk¶. The Tkinter module (“Tk interface”) is the standard Python interface to the Tk GUI toolkit. Both Tk and Tkinter are available on most Unix platforms, as well as on Windows systems. (Tk itself is not part of Python; it …
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.messagebox — Tkinter message prompts — Python 3.13.2 …
3 天之前 · 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 ) …
5. Using Python on macOS — documentación de Python - 3.13.2
The standard Python GUI toolkit is tkinter, based on the cross-platform Tk toolkit (https://www.tcl.tk). A macOS-native version of Tk is included with the installer. PyObjC is a Python binding to Apple’s Objective-C/Cocoa framework. Information on PyObjC is available from pyobjc. A number of alternative macOS GUI toolkits are available including: