diff options
author | Barry Warsaw <barry@python.org> | 1998-10-02 16:20:14 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 1998-10-02 16:20:14 (GMT) |
commit | 4638c5b7f351da1156a5f365646935510b67d97a (patch) | |
tree | d904780878f26471e5e2d7891b362984ce859c4a /Tools/pynche/TextViewer.py | |
parent | eb61fbdba836454f3f720ba19b5ca8c724dab100 (diff) | |
download | cpython-4638c5b7f351da1156a5f365646935510b67d97a.zip cpython-4638c5b7f351da1156a5f365646935510b67d97a.tar.gz cpython-4638c5b7f351da1156a5f365646935510b67d97a.tar.bz2 |
Docstring
Diffstat (limited to 'Tools/pynche/TextViewer.py')
-rw-r--r-- | Tools/pynche/TextViewer.py | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/Tools/pynche/TextViewer.py b/Tools/pynche/TextViewer.py index 9fdab07..9e77a02 100644 --- a/Tools/pynche/TextViewer.py +++ b/Tools/pynche/TextViewer.py @@ -1,3 +1,20 @@ +"""TextViewer class. + +The TextViewer allows you to see how the selected color would affect various +characteristics of a Tk text widget. This is an output viewer only. + +In the top part of the window is a standard text widget with some sample text +in it. You are free to edit this text in any way you want (TBD: allow you to +change font characteristics). If you want changes in other viewers to update +text characteristics, turn on Track color changes. + +To select which characteristic tracks the change, select one of the radio +buttons in the window below. Text foreground and background affect the text +in the window above. The Selection is what you see when you click the middle +button and drag it through some text. The Insertion is the insertion cursor +in the text window (which only has a background). +""" + import sys from Tkinter import * from pynche import __version__ @@ -30,7 +47,7 @@ textual displays.''') self.__trackp = BooleanVar() self.__trackp.set(0) self.__which = IntVar() - self.__which.set(4) + self.__which.set(0) # # track toggle self.__t = Checkbutton(root, text='Track color changes', |