Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
a249f16a
Commit
a249f16a
authored
Sep 07, 2000
by
Fredrik Lundh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Older Tk versions don't support mousewheel support. Set event.delta
to zero if that's the case (closes bug #113727)
parent
ebba4202
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
Lib/lib-tk/Tkinter.py
Lib/lib-tk/Tkinter.py
+4
-1
No files found.
Lib/lib-tk/Tkinter.py
View file @
a249f16a
...
...
@@ -1050,7 +1050,10 @@ class Misc:
e
.
widget
=
W
e
.
x_root
=
getint
(
X
)
e
.
y_root
=
getint
(
Y
)
e
.
delta
=
getint
(
D
)
try
:
e
.
delta
=
getint
(
D
)
except
ValueError
:
e
.
delta
=
0
return
(
e
,)
def
_report_exception
(
self
):
"""Internal function."""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment