+
    öÙ†jd
  ã                   óh   € ^ RI Ht RR.t ! R R]4      tR	R lt]R8X  d   ]! R]! 4       4       R# R# )
é    )ÚDialogÚChooserÚaskcolorc                   ó4   a € ] tR t^t o RtRtR tR tRtV t	R# )r   ap  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                ó®   €  V P                   R,          p\        V\        4      '       d   RV,          V P                   R&   R# R#   \         d     R# i ; i)zfEnsure initialcolor is a tk color string.

Convert initialcolor from a RGB triplet to a color string.
Úinitialcolorz#%02x%02x%02xN)ÚoptionsÚ
isinstanceÚtupleÚKeyError)ÚselfÚcolors   & Ú+/usr/lib/python3.14/tkinter/colorchooser.pyÚ_fixoptionsÚChooser._fixoptions#   sN   € ð
	Ø—L‘L Õ0ˆEÜ˜%¤×'Ò'à/>ÀÕ/F�—‘˜^Ó,ñ (øô ô 	Úð	ús   ‚?A ÁAÁAc                óª   € V'       d   \        V4      '       g   R# VP                  V4      w  r4pVR,          VR,          VR,          3\        V4      3# )z™Adjust result returned from call to tk_chooseColor.

Return both an RGB tuple of ints in the range (0, 255) and the
tk color string in the form #rrggbb.
é   )NN)ÚstrÚ	winfo_rgb)r   ÚwidgetÚresultÚrÚgÚbs   &&&   r   Ú
_fixresultÚChooser._fixresult0   sM   € ÷ œS Ÿ[š[ØÐð ×"Ñ" 6Ó*‰ˆˆaØ�3•˜˜3�  3¥Ð'¬¨V«Ð4Ð4ó    © N)
Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Úcommandr   r   Ú__static_attributes__Ú__classdictcell__)Ú__classdict__s   @r   r   r      s    ø‡ € ñð €Gò÷5ð 5r   Nc                ól   € V '       d   VP                  4       pWR&   \        R/ VB P                  4       # )z Display dialog window for selection of a color.

Convenience wrapper for the Chooser class.  Displays the color
chooser dialog with color as the initial value.
r	   r   )Úcopyr   Úshow)r   r
   s   &,r   r   r   D   s1   € ÷ Ø—,‘,“.ˆØ"'�ÑäÑ�WÑ×"Ñ"Ó$Ð$r   Ú__main__r   )N)Útkinter.commondialogr   Ú__all__r   r   r    Úprintr   r   r   Ú<module>r0      sA   ðõ (à�jÐ
!€ô-5ˆfô -5ôf%ð" ˆzÔÙ	ˆ'‘8“:Öñ r   