Added Alt-w bindings
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 @@
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
#
diff --git a/Tools/pynche/TextViewer.py b/Tools/pynche/TextViewer.py
index 9e77a02..0479d8c 100644
--- a/Tools/pynche/TextViewer.py
+++ b/Tools/pynche/TextViewer.py
@@ -29,6 +29,8 @@
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
#