Ë c‡½jd ãó^—ddlmZddgZGd„de«Zd d„Zedk(rede««yy) é)ÚDialogÚChooserÚaskcolorcó —eZdZdZdZd„Zd„Zy)ra 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óˆ— |jd}t|t«rd|z|jd<yy#t$rYywxYw)zvEnsure 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/lib64/python3.12/tkinter/colorchooser.pyÚ _fixoptionszChooser._fixoptions#sK€ð  Ø—L‘L Ñ0ˆEܘ%¤Ô'à/>ÀÑ/F�— ‘ ˜^Ò,ð(øôò Ù ð ús‚15µ AÁAcóz—|r t|«sy|j|«\}}}|dz|dz|dzft|«fS)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Ú _fixresultzChooser._fixresult0sJ€ñœS œ[Øð×"Ñ" 6Ó*‰ˆˆ1ˆaØ�3‘˜˜3™  3¡Ð'¬¨V«Ð4Ð4óN)Ú__name__Ú __module__Ú __qualname__Ú__doc__Úcommandrr©rrrrs„ñ ð€Gò ó5rNc ób—|r|j«}||d<tdi|¤Žj«S)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)rr s rrrDs3€ñ Ø—,‘,“.ˆØ"'ˆ�Ñä Ñ �WÑ × "Ñ "Ó $Ð$rÚ__main__r)N)Útkinter.commondialogrÚ__all__rrrÚprintr"rrÚr*sAðõ(à �jÐ !€ô-5ˆfô-5óf %ð" ˆzÒÙ ˆ'‘8“:Õðr