Staging
v0.5.1
v0.5.1
Revision 2d1a50ca13309d10517d3eac59b90fdfa156b8a2 authored by cvs2svn on 15 October 2004, 08:07:21 UTC, committed by cvs2svn on 15 October 2004, 08:07:21 UTC
1 parent 6a587c1
libcolorpicker.tex
\section{\module{ColorPicker} ---
Color selection dialog}
\declaremodule{extension}{ColorPicker}
\platform{Mac}
\modulesynopsis{Interface to the standard color selection dialog.}
\moduleauthor{Just van Rossum}{just@letterror.com}
\sectionauthor{Fred L. Drake, Jr.}{fdrake@acm.org}
The \module{ColorPicker} module provides access to the standard color
picker dialog.
\begin{funcdesc}{GetColor}{prompt, rgb}
Show a standard color selection dialog and allow the user to select
a color. The user is given instruction by the \var{prompt} string,
and the default color is set to \var{rgb}. \var{rgb} must be a
tuple giving the red, green, and blue components of the color.
\function{GetColor()} returns a tuple giving the user's selected
color and a flag indicating whether they accepted the selection of
cancelled.
\end{funcdesc}
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...