summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>1998-10-06 21:40:22 (GMT)
committerBarry Warsaw <barry@python.org>1998-10-06 21:40:22 (GMT)
commitda7502e8add679ac17b796979f2f033391167e7d (patch)
tree37977658a36014f77298b3dd6e320d731d04c404
parent3886e3aebbb337469aa2b2f6626d7a291e6d3116 (diff)
downloadcpython-da7502e8add679ac17b796979f2f033391167e7d.zip
cpython-da7502e8add679ac17b796979f2f033391167e7d.tar.gz
cpython-da7502e8add679ac17b796979f2f033391167e7d.tar.bz2
Add a SELECTION to the pre-inserted text
-rw-r--r--Tools/pynche/TextViewer.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/Tools/pynche/TextViewer.py b/Tools/pynche/TextViewer.py
index 316bd15..254e7e0 100644
--- a/Tools/pynche/TextViewer.py
+++ b/Tools/pynche/TextViewer.py
@@ -41,7 +41,12 @@ class TextViewer:
Insert some stuff here and play
with the buttons below to see
how the colors interact in
-textual displays.''')
+textual displays.
+
+See how the selection can also
+be affected by tickling the buttons
+and choosing a color.''')
+ self.__text.tag_add(SEL, 6.0, END)
#
# variables
self.__trackp = BooleanVar()