summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>1998-10-02 16:06:27 (GMT)
committerBarry Warsaw <barry@python.org>1998-10-02 16:06:27 (GMT)
commiteb61fbdba836454f3f720ba19b5ca8c724dab100 (patch)
tree8219a5884618a4c8c72569dfa9cb9b19e857ba0a /Tools
parentbd36d6eccd5c1d79a8bc1e273124e752c218a578 (diff)
downloadcpython-eb61fbdba836454f3f720ba19b5ca8c724dab100.zip
cpython-eb61fbdba836454f3f720ba19b5ca8c724dab100.tar.gz
cpython-eb61fbdba836454f3f720ba19b5ca8c724dab100.tar.bz2
Docstring
Diffstat (limited to 'Tools')
-rw-r--r--Tools/pynche/ListViewer.py17
-rw-r--r--Tools/pynche/PyncheWidget.py3
2 files changed, 20 insertions, 0 deletions
diff --git a/Tools/pynche/ListViewer.py b/Tools/pynche/ListViewer.py
index 7386136..d8ab85f 100644
--- a/Tools/pynche/ListViewer.py
+++ b/Tools/pynche/ListViewer.py
@@ -1,3 +1,20 @@
+"""ListViewer class.
+
+This class implements an input/output view on the color model. It lists every
+unique color (e.g. unique r/g/b value) found in the color database. Each
+color is shown by small swatch and primary color name. Some colors have
+aliases -- more than one name for the same r/g/b value. These aliases are
+displayed in the small listbox at the bottom of the screen.
+
+Clicking on a color name or swatch selects that color and updates all other
+windows. When a color is selected in a different viewer, the color list is
+scrolled to the selected color and it is highlighted. If the selected color
+is an r/g/b value without a name, no scrolling occurs.
+
+You can turn off Update On Click if all you want to see is the alias for a
+given name, without selecting the color.
+"""
+
import sys
from Tkinter import *
from pynche import __version__
diff --git a/Tools/pynche/PyncheWidget.py b/Tools/pynche/PyncheWidget.py
index b367fc2..66c219f 100644
--- a/Tools/pynche/PyncheWidget.py
+++ b/Tools/pynche/PyncheWidget.py
@@ -1,4 +1,7 @@
"""Main Pynche (Pythonically Natural Color and Hue Editor) widget.
+
+This window provides the basic decorations, primarily including the menubar.
+It is used to bring up other windows.
"""
import sys