Sindbad~EG File Manager
�
&Μgd
� �^ � 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<