diff options
author | Barry Warsaw <barry@python.org> | 1998-10-05 21:15:08 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 1998-10-05 21:15:08 (GMT) |
commit | 964fbbbc61afd04a90bd1a48b4a984943a128051 (patch) | |
tree | c405be0eb0bc22a0b2422ee9d9e0080d7a78c43f /Tools/pynche/ListViewer.py | |
parent | 9044b8e5e3b367824445842d8227728387f29255 (diff) | |
download | cpython-964fbbbc61afd04a90bd1a48b4a984943a128051.zip cpython-964fbbbc61afd04a90bd1a48b4a984943a128051.tar.gz cpython-964fbbbc61afd04a90bd1a48b4a984943a128051.tar.bz2 |
Added Alt-w bindings
Diffstat (limited to 'Tools/pynche/ListViewer.py')
-rw-r--r-- | Tools/pynche/ListViewer.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Tools/pynche/ListViewer.py b/Tools/pynche/ListViewer.py index d8ab85f..45a3ac5 100644 --- a/Tools/pynche/ListViewer.py +++ b/Tools/pynche/ListViewer.py @@ -25,12 +25,15 @@ class ListViewer: self.__sb = switchboard self.__lastbox = None self.__dontcenter = 0 + # GUI root = self.__root = Toplevel(parent, class_='Pynche') root.protocol('WM_DELETE_WINDOW', self.__withdraw) root.title('Pynche %s' % __version__) root.iconname('Pynche Color List') 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 canvas which holds everything, and its scrollbar # |