]> granicus.if.org Git - python/commitdiff
Docstring
authorBarry Warsaw <barry@python.org>
Fri, 2 Oct 1998 16:06:27 +0000 (16:06 +0000)
committerBarry Warsaw <barry@python.org>
Fri, 2 Oct 1998 16:06:27 +0000 (16:06 +0000)
Tools/pynche/ListViewer.py
Tools/pynche/PyncheWidget.py

index 7386136d2d59f102b41acf3f0a662ada048f122c..d8ab85f60121ee32ef7ba61de5e9023230f69365 100644 (file)
@@ -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__
index b367fc2f6ae8b25ef6f73db4b31389cc4c60ab6c..66c219f72c9f89d98c6161ca0a4dea06186df37d 100644 (file)
@@ -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