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

index 83a700f7ff4875184f77ac879c92b25519003d8c..63df363791179879a81e1e04f955068c0a1e53a8 100644 (file)
@@ -1,3 +1,17 @@
+"""TypeinViewer class.
+
+The TypeinViewer is what you see at the lower right of the main Pynche
+widget.  It contains three text entry fields, one each for red, green, blue.
+Input into these windows is highly constrained; it only allows you to enter
+values that are legal for a color axis.  This usually means 0-255 for decimal
+input and 0x0 - 0xff for hex input.
+
+You can toggle whether you want to view and input the values in either decimal
+or hex by clicking on Hexadecimal.  By clicking on Update while typing, the
+color selection will be made on every change to the text field.  Otherwise,
+you must hit Return or Tab to select the color.
+"""
+
 from Tkinter import *
 import string
 import re