Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b6bdcb2

Browse files
committed
Documentation for Just's ColorPicker module, so the Mac OS guys get
something out of this documentation release as well. ;-)
1 parent 4fb6036 commit b6bdcb2

2 files changed

Lines changed: 23 additions & 0 deletions

File tree

Doc/mac/libcolorpicker.tex

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
\section{\module{ColorPicker} ---
2+
Color selection dialog}
3+
4+
\declaremodule{extension}{ColorPicker}
5+
\modulesynopsis{}
6+
\moduleauthor{Just van Rossum}{[email protected]}
7+
\sectionauthor{Fred L. Drake, Jr.}{[email protected]}
8+
9+
10+
The \module{ColorPicker} module provides access to the standard color
11+
picker dialog.
12+
13+
14+
\begin{funcdesc}{GetColor}{prompt, rgb}
15+
Show a standard color selection dialog and allow the user to select
16+
a color. The user is given instruction by the \var{prompt} string,
17+
and the default color is set to \var{rgb}. \var{rgb} must be a
18+
tuple giving the red, green, and blue components of the color.
19+
\function{GetColor()} returns a tuple giving the user's selected
20+
color and a flag indicating whether they accepted the selection of
21+
cancelled.
22+
\end{funcdesc}

Doc/mac/mac.tex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ \chapter{MacPython Modules \label{macpython-modules}}
6767
\input{libaetypes}
6868

6969
\input{toolbox} % MacOS Toolbox Modules
70+
\input{libcolorpicker}
7071

7172
\input{undoc} % Undocumented Modules
7273

0 commit comments

Comments
 (0)