]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Move menu/key binding code from Bindings.py to EditorWindow.py,
authorGuido van Rossum <guido@python.org>
Thu, 28 Jan 1999 22:02:47 +0000 (22:02 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 28 Jan 1999 22:02:47 +0000 (22:02 +0000)
commit07ec8967078a966365a44db301a9063f70c7f474
treef97b034c2f3489958e47ae03a3cb41c5312a745c
parent85ef9dce9f4b1982c1f26daa0fe9f4af08e124a6
Move menu/key binding code from Bindings.py to EditorWindow.py,
with changed APIs -- it makes much more sense there.
Also add a new feature: if the first character of a menu label is
a '!', it gets a checkbox.  Checkboxes are bound to Boolean Tcl variables
that can be accessed through the new getvar/setvar/getrawvar API;
the variable is named after the event to which the menu is bound.
Tools/idle/Bindings.py
Tools/idle/EditorWindow.py
Tools/idle/PyShell.py