✏️ 正在编辑: colorchooser.cpython-312.pyc
路径:
/lib64/python3.12/tkinter/__pycache__/colorchooser.cpython-312.pyc
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
� �֦id � �^ � d dl mZ ddgZ G d� de� Zd d�Zedk( r ed e� � yy) � )�Dialog�Chooser�askcolorc � � e Zd ZdZdZd� Zd� Zy)r a� Create a dialog for the tk_chooseColor command. Args: master: The master widget for this dialog. If not provided, defaults to options['parent'] (if defined). options: Dictionary of options for the tk_chooseColor call. initialcolor: Specifies the selected color when the dialog is first displayed. This can be a tk color string or a 3-tuple of ints in the range (0, 255) for an RGB triplet. parent: The parent window of the color dialog. The color dialog is displayed on top of this. title: A string for the title of the dialog box. �tk_chooseColorc � � | j d }t |t � rd|z | j d<