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
00e4ce3a
Commit
00e4ce3a
authored
Sep 26, 2015
by
Terry Jan Reedy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #24988: Idle ScrolledList context menus (used in debugger)
now work on Mac Aqua. Patch by Mark Roseman.
parent
e48cf7e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
Lib/idlelib/ScrolledList.py
Lib/idlelib/ScrolledList.py
+6
-1
No files found.
Lib/idlelib/ScrolledList.py
View file @
00e4ce3a
from
tkinter
import
*
from
idlelib
import
macosxSupport
class
ScrolledList
:
...
...
@@ -22,7 +23,11 @@ class ScrolledList:
# Bind events to the list box
listbox
.
bind
(
"<ButtonRelease-1>"
,
self
.
click_event
)
listbox
.
bind
(
"<Double-ButtonRelease-1>"
,
self
.
double_click_event
)
listbox
.
bind
(
"<ButtonPress-3>"
,
self
.
popup_event
)
if
macosxSupport
.
isAquaTk
():
listbox
.
bind
(
"<ButtonPress-2>"
,
self
.
popup_event
)
listbox
.
bind
(
"<Control-Button-1>"
,
self
.
popup_event
)
else
:
listbox
.
bind
(
"<ButtonPress-3>"
,
self
.
popup_event
)
listbox
.
bind
(
"<Key-Up>"
,
self
.
up_event
)
listbox
.
bind
(
"<Key-Down>"
,
self
.
down_event
)
# Mark as empty
...
...
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