,+e@Z=bSSKJr SS/r"SS\5rS Sjr\S:Xa\"S\"55 gg) )DialogChooseraskcolorc(\rSrSrSrSrSrSrSrg)rapCreate 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_chooseColorcURSn[U[5(aSU-URS'gg![a gf=f)zfEnsure initialcolor is a tk color string. Convert initialcolor from a RGB triplet to a color string. initialcolorz #%02x%02x%02xN)options isinstancetupleKeyError)selfcolors ;/opt/alt/python313/lib64/python3.13/tkinter/colorchooser.py _fixoptionsChooser._fixoptions#sN  LL0E%''/>/F ^,(   s6: AAcU(a[U5(dgURU5up4nUS-US-US-4[U54$)zAdjust 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)rwidgetresultrgbs r _fixresultChooser._fixresult0sJS[[""6*a333'V44N) __name__ __module__ __qualname____firstlineno____doc__commandrr__static_attributes__r rrrrs G 5rNc jU(aUR5nXS'[S0UD6R5$)zDisplay 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 )copyrshow)rr s rrrDs1 ,,."'  W  " " $$r__main__r)N)tkinter.commondialogr__all__rrr!printr rrr/sA( j !-5f-5f %" z '8:r