Make Alt-Key-2 the Zoom Height binding for ClassBrowser and PathBrowser,

consistent with the Edit/Shell windows.
This commit is contained in:
Kurt B. Kaiser 2003-01-22 00:31:09 +00:00
parent 4cc5ef5dbe
commit 981344567f
1 changed files with 2 additions and 2 deletions

View File

@ -428,8 +428,8 @@ class ScrolledCanvas:
self.canvas.bind("<Key-Next>", self.page_down)
self.canvas.bind("<Key-Up>", self.unit_up)
self.canvas.bind("<Key-Down>", self.unit_down)
if isinstance(master, Toplevel) or isinstance(master, Tk):
self.canvas.bind("<Alt-F2>", self.zoom_height)
#if isinstance(master, Toplevel) or isinstance(master, Tk):
self.canvas.bind("<Alt-Key-2>", self.zoom_height)
self.canvas.focus_set()
def page_up(self, event):
self.canvas.yview_scroll(-1, "page")