From eb61fbdba836454f3f720ba19b5ca8c724dab100 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Fri, 2 Oct 1998 16:06:27 +0000 Subject: [PATCH] Docstring --- Tools/pynche/ListViewer.py | 17 +++++++++++++++++ Tools/pynche/PyncheWidget.py | 3 +++ 2 files changed, 20 insertions(+) diff --git a/Tools/pynche/ListViewer.py b/Tools/pynche/ListViewer.py index 7386136d2d5..d8ab85f6012 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 b367fc2f6ae..66c219f72c9 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