Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 35.4k
IDLE - Update mousewheel event handling #154511
Copy link
Copy link
Open
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-IDLEtype-refactorCode refactoring (with no changes in behavior)Code refactoring (with no changes in behavior)
Description
Activity
Metadata
Metadata
Assignees
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-IDLEtype-refactorCode refactoring (with no changes in behavior)Code refactoring (with no changes in behavior)
Projects
- StatusShow more project fieldsNo status
Followup to gh-153741 which made IDLE aware of x11 wheel event change in 8.7 and 9.0. Move definition of
x11_buttonsfrom test_sidebar to util. Movedef wheel_eventfrom tree to util and move its test from test_tree to test_util. (I expect tree.py to eventially be replaced by ttk.treeview.) Make various other adjustmentsThere are unneeded bindings of buttons 4 and 5 in sidebar. We might be able to handle the needed binding with wheel_event with a second argument. I will leave this for a second PR.
Linked PRs