1mNAME0m
       tk_chooseColor - pops up a dialog box for the user to select a color.


1mSYNOPSIS0m
       1mtk_chooseColor 22m?4moption24m 4mvalue24m 4m...24m?


1mDESCRIPTION0m
       The  procedure  1mtk_chooseColor  22mpops  up  a  dialog box for the user to
       select a color. The following 4moption-value24m pairs are possible  as  com-
       mand line arguments:

       1m-initialcolor 4m22mcolor0m
              Specifies  the color to display in the color dialog when it pops
              up. 4mcolor24m must be in a form acceptable to the 1mTk_GetColor  22mfunc-
              tion.

       1m-parent 4m22mwindow0m
              Makes  4mwindow24m  the logical parent of the color dialog. The color
              dialog is displayed on top of its parent window.

       1m-title 4m22mtitleString0m
              Specifies a string to display as the title of the dialog box. If
              this  option is not specified, then a default title will be dis-
              played.

       If the user selects a color, 1mtk_chooseColor 22mwill return the name of the
       color  in  a  form  acceptable to 1mTk_GetColor22m.  If the user cancels the
       operation, both commands will return the empty string.

1mEXAMPLE0m
              button .b -fg [tk_chooseColor -initialcolor gray -title "Choose color"]


1mKEYWORDS0m
