diff options
author | Fred Drake <fdrake@acm.org> | 2001-04-13 04:49:30 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-04-13 04:49:30 (GMT) |
commit | b6bdcb23dfede4c615ee9b3bf420e00669ae59b1 (patch) | |
tree | dc317be350e2dd542ad0b6c2b3fae76ccf304e03 /Doc/mac | |
parent | 4fb60361dca7da10152dbcb70a360abd7d586600 (diff) | |
download | cpython-b6bdcb23dfede4c615ee9b3bf420e00669ae59b1.zip cpython-b6bdcb23dfede4c615ee9b3bf420e00669ae59b1.tar.gz cpython-b6bdcb23dfede4c615ee9b3bf420e00669ae59b1.tar.bz2 |
Documentation for Just's ColorPicker module, so the Mac OS guys get
something out of this documentation release as well. ;-)
Diffstat (limited to 'Doc/mac')
-rw-r--r-- | Doc/mac/libcolorpicker.tex | 22 | ||||
-rw-r--r-- | Doc/mac/mac.tex | 1 |
2 files changed, 23 insertions, 0 deletions
diff --git a/Doc/mac/libcolorpicker.tex b/Doc/mac/libcolorpicker.tex new file mode 100644 index 0000000..6520e23 --- /dev/null +++ b/Doc/mac/libcolorpicker.tex @@ -0,0 +1,22 @@ +\section{\module{ColorPicker} --- + Color selection dialog} + +\declaremodule{extension}{ColorPicker} +\modulesynopsis{} +\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} diff --git a/Doc/mac/mac.tex b/Doc/mac/mac.tex index c6c8a2d..2edd857 100644 --- a/Doc/mac/mac.tex +++ b/Doc/mac/mac.tex @@ -67,6 +67,7 @@ documented here: \input{libaetypes} \input{toolbox} % MacOS Toolbox Modules +\input{libcolorpicker} \input{undoc} % Undocumented Modules |