GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — IDLE - Update mousewheel event handling · Issue #154511 · python/cpython

IDLE - Update mousewheel event handling #154511

New issue
Copy link
New issue
Copy link
Open
Open
IDLE - Update mousewheel event handling#154511
Copy link
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

@terryjreedy
terryjreedy
opened on Jul 22, 2026
Issue body actions

Followup to gh-153741 which made IDLE aware of x11 wheel event change in 8.7 and 9.0. Move definition of x11_buttons from test_sidebar to util. Move def wheel_event from 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 adjustments

There 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

  • gh-154511: IDLE - Update mousewheel event handling  #154512
  • gh-154511: Consolidate IDLE's mouse wheel handling in util #156974
  • [3.15] gh-154511: Consolidate IDLE's mouse wheel handling in util (GH-156974) #157021
  • [3.14] gh-154511: Consolidate IDLE's mouse wheel handling in util (GH-156974) #157022
  • [3.13] gh-154511: Consolidate IDLE's mouse wheel handling in util (GH-156974) #157023

Activity

  1. terryjreedy
    added
    topic-IDLE
    on Jul 22, 2026
  2. terryjreedy
    added this to IDLE Issueson Jul 22, 2026
  3. StanFromIreland
    added
    stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directory
    type-refactorCode refactoring (with no changes in behavior)Code refactoring (with no changes in behavior)
    on Jul 23, 2026
  4. serhiy-storchaka
    added 6 commits that reference this issue on Sep 6, 2026

    gh-154511: Consolidate IDLE's mouse wheel handling in util (GH-156974)

    57594aa

    pythongh-154511: Set the scaling with the Tcl command in test_fix_sca…

    321518b

    pythongh-154511: Set the scaling with the Tcl command in test_fix_sca…

    c4c1d77

    pythongh-154511: Set the scaling with the Tcl command in test_fix_sca…

    b242d1c

    [3.13] gh-154511: Consolidate IDLE's mouse wheel handling in util (GH…

    19693af

    [3.14] gh-154511: Consolidate IDLE's mouse wheel handling in util (GH…

    a9152fb
  5. clin1234
    added a commit that references this issue on Sep 12, 2026

    pythongh-154511: Consolidate IDLE's mouse wheel handling in util (pyt…

    597b67b
  6. terryjreedy
    added a commit that references this issue on Oct 9, 2026

    [3.15] gh-154511: Consolidate IDLE's mouse wheel handling in util (GH…

    240efc0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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

    • IDLE Issues
      Status
      No status
      Show more project fields

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402503 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.