Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
00e4ce3a
Kaydet (Commit)
00e4ce3a
authored
Eyl 26, 2015
tarafından
Terry Jan Reedy
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #24988: Idle ScrolledList context menus (used in debugger)
now work on Mac Aqua. Patch by Mark Roseman.
üst
e48cf7e7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
ScrolledList.py
Lib/idlelib/ScrolledList.py
+5
-0
No files found.
Lib/idlelib/ScrolledList.py
Dosyayı görüntüle @
00e4ce3a
from
tkinter
import
*
from
idlelib
import
macosxSupport
class
ScrolledList
:
...
...
@@ -22,6 +23,10 @@ class ScrolledList:
# Bind events to the list box
listbox
.
bind
(
"<ButtonRelease-1>"
,
self
.
click_event
)
listbox
.
bind
(
"<Double-ButtonRelease-1>"
,
self
.
double_click_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
)
...
...
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