Exceptions raised during renaming in rotating file handlers are now passed to handleE...
[python.git] / Doc / mac / libcolorpicker.tex
blob596e9c2e2734359861b67c98bcd4e34ee30ee54d
1 \section{\module{ColorPicker} ---
2 Color selection dialog}
4 \declaremodule{extension}{ColorPicker}
5 \platform{Mac}
6 \modulesynopsis{Interface to the standard color selection dialog.}
7 \moduleauthor{Just van Rossum}{just@letterror.com}
8 \sectionauthor{Fred L. Drake, Jr.}{fdrake@acm.org}
11 The \module{ColorPicker} module provides access to the standard color
12 picker dialog.
15 \begin{funcdesc}{GetColor}{prompt, rgb}
16 Show a standard color selection dialog and allow the user to select
17 a color. The user is given instruction by the \var{prompt} string,
18 and the default color is set to \var{rgb}. \var{rgb} must be a
19 tuple giving the red, green, and blue components of the color.
20 \function{GetColor()} returns a tuple giving the user's selected
21 color and a flag indicating whether they accepted the selection of
22 cancelled.
23 \end{funcdesc}