summaryrefslogtreecommitdiff
path: root/Tools/pynche/TextViewer.py
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>1998-10-05 21:15:08 +0000
committerBarry Warsaw <barry@python.org>1998-10-05 21:15:08 +0000
commit964fbbbc61afd04a90bd1a48b4a984943a128051 (patch)
treec405be0eb0bc22a0b2422ee9d9e0080d7a78c43f /Tools/pynche/TextViewer.py
parent9044b8e5e3b367824445842d8227728387f29255 (diff)
downloadcpython-git-964fbbbc61afd04a90bd1a48b4a984943a128051.tar.gz
Added Alt-w bindings
Diffstat (limited to 'Tools/pynche/TextViewer.py')
-rw-r--r--Tools/pynche/TextViewer.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tools/pynche/TextViewer.py b/Tools/pynche/TextViewer.py
index 9e77a021d8..0479d8c8dc 100644
--- a/Tools/pynche/TextViewer.py
+++ b/Tools/pynche/TextViewer.py
@@ -29,6 +29,8 @@ class TextViewer:
root.iconname('Pynche Text Window')
root.bind('<Alt-q>', self.__quit)
root.bind('<Alt-Q>', self.__quit)
+ root.bind('<Alt-w>', self.__withdraw)
+ root.bind('<Alt-W>', self.__withdraw)
#
# create the text widget
#