tkinter — 到 Tcl/Tk 的 Python 接口
tkinter
tkinter.colorchooser
源代码: Lib/tkinter/colorchooser.py
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 类。
Chooser
Dialog
Create a color choosing dialog. A call to this method will show the window, wait for the user to make a selection, and return the selected color (or None ) to the caller.
None
另请参阅
tkinter.commondialog
Tkinter standard dialog module
tkinter.font — Tkinter 字体包裹器
tkinter.font
键入搜索术语或模块、类、函数名称。