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
417367a4
Kaydet (Commit)
417367a4
authored
Haz 02, 2014
tarafından
Serhiy Storchaka
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #6181: Fixed errors in tkinter.Listbox docstrings.
Based on patch by Guilherme Polo.
üst
9e51f509
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Tkinter.py
Lib/lib-tk/Tkinter.py
+4
-4
No files found.
Lib/lib-tk/Tkinter.py
Dosyayı görüntüle @
417367a4
...
...
@@ -2580,10 +2580,10 @@ class Listbox(Widget, XView, YView):
return
self
.
tk
.
splitlist
(
self
.
tk
.
call
(
self
.
_w
,
'curselection'
))
def
delete
(
self
,
first
,
last
=
None
):
"""Delete items from FIRST to LAST (
not
included)."""
"""Delete items from FIRST to LAST (included)."""
self
.
tk
.
call
(
self
.
_w
,
'delete'
,
first
,
last
)
def
get
(
self
,
first
,
last
=
None
):
"""Get list of items from FIRST to LAST (
not
included)."""
"""Get list of items from FIRST to LAST (included)."""
if
last
:
return
self
.
tk
.
splitlist
(
self
.
tk
.
call
(
self
.
_w
,
'get'
,
first
,
last
))
...
...
@@ -2617,7 +2617,7 @@ class Listbox(Widget, XView, YView):
self
.
tk
.
call
(
self
.
_w
,
'selection'
,
'anchor'
,
index
)
select_anchor
=
selection_anchor
def
selection_clear
(
self
,
first
,
last
=
None
):
"""Clear the selection from FIRST to LAST (
not
included)."""
"""Clear the selection from FIRST to LAST (included)."""
self
.
tk
.
call
(
self
.
_w
,
'selection'
,
'clear'
,
first
,
last
)
select_clear
=
selection_clear
...
...
@@ -2627,7 +2627,7 @@ class Listbox(Widget, XView, YView):
self
.
_w
,
'selection'
,
'includes'
,
index
))
select_includes
=
selection_includes
def
selection_set
(
self
,
first
,
last
=
None
):
"""Set the selection from FIRST to LAST (
not
included) without
"""Set the selection from FIRST to LAST (included) without
changing the currently selected elements."""
self
.
tk
.
call
(
self
.
_w
,
'selection'
,
'set'
,
first
,
last
)
select_set
=
selection_set
...
...
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