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
764d6c7a
Kaydet (Commit)
764d6c7a
authored
Şub 14, 1997
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Gave the Listbox selection methods their correct (longer) names.
Removed select_adjust -- Tk no longer supports this.
üst
1851a676
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
Tkinter.py
Lib/lib-tk/Tkinter.py
+4
-2
Tkinter.py
Lib/tkinter/Tkinter.py
+4
-2
No files found.
Lib/lib-tk/Tkinter.py
Dosyayı görüntüle @
764d6c7a
...
...
@@ -1267,18 +1267,20 @@ class Listbox(Widget):
i
=
self
.
tk
.
call
(
self
.
_w
,
'index'
,
index
)
if
i
==
'none'
:
return
None
return
self
.
tk
.
getint
(
i
)
def
select_adjust
(
self
,
index
):
self
.
tk
.
call
(
self
.
_w
,
'select'
,
'adjust'
,
index
)
def
select_anchor
(
self
,
index
):
self
.
tk
.
call
(
self
.
_w
,
'selection'
,
'anchor'
,
index
)
selection_anchor
=
select_anchor
def
select_clear
(
self
,
first
,
last
=
None
):
self
.
tk
.
call
(
self
.
_w
,
'selection'
,
'clear'
,
first
,
last
)
selection_clear
=
select_clear
def
select_includes
(
self
,
index
):
return
self
.
tk
.
getboolean
(
self
.
tk
.
call
(
self
.
_w
,
'selection'
,
'includes'
,
index
))
selection_includes
=
select_includes
def
select_set
(
self
,
first
,
last
=
None
):
self
.
tk
.
call
(
self
.
_w
,
'selection'
,
'set'
,
first
,
last
)
selection_set
=
select_set
def
size
(
self
):
return
self
.
tk
.
getint
(
self
.
tk
.
call
(
self
.
_w
,
'size'
))
def
xview
(
self
,
*
what
):
...
...
Lib/tkinter/Tkinter.py
Dosyayı görüntüle @
764d6c7a
...
...
@@ -1267,18 +1267,20 @@ class Listbox(Widget):
i
=
self
.
tk
.
call
(
self
.
_w
,
'index'
,
index
)
if
i
==
'none'
:
return
None
return
self
.
tk
.
getint
(
i
)
def
select_adjust
(
self
,
index
):
self
.
tk
.
call
(
self
.
_w
,
'select'
,
'adjust'
,
index
)
def
select_anchor
(
self
,
index
):
self
.
tk
.
call
(
self
.
_w
,
'selection'
,
'anchor'
,
index
)
selection_anchor
=
select_anchor
def
select_clear
(
self
,
first
,
last
=
None
):
self
.
tk
.
call
(
self
.
_w
,
'selection'
,
'clear'
,
first
,
last
)
selection_clear
=
select_clear
def
select_includes
(
self
,
index
):
return
self
.
tk
.
getboolean
(
self
.
tk
.
call
(
self
.
_w
,
'selection'
,
'includes'
,
index
))
selection_includes
=
select_includes
def
select_set
(
self
,
first
,
last
=
None
):
self
.
tk
.
call
(
self
.
_w
,
'selection'
,
'set'
,
first
,
last
)
selection_set
=
select_set
def
size
(
self
):
return
self
.
tk
.
getint
(
self
.
tk
.
call
(
self
.
_w
,
'size'
))
def
xview
(
self
,
*
what
):
...
...
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