mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Make Alt-Key-2 the Zoom Height binding for ClassBrowser and PathBrowser,
consistent with the Edit/Shell windows.
This commit is contained in:
parent
4cc5ef5dbe
commit
981344567f
1 changed files with 2 additions and 2 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue