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
c04f7a79
Kaydet (Commit)
c04f7a79
authored
Eki 01, 2001
tarafından
Martin v. Löwis
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Undo last checkin, since it duplicated the code.
üst
26111623
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
25 deletions
+0
-25
Tkinter.py
Lib/lib-tk/Tkinter.py
+0
-25
No files found.
Lib/lib-tk/Tkinter.py
Dosyayı görüntüle @
c04f7a79
...
@@ -2299,31 +2299,6 @@ class Listbox(Widget):
...
@@ -2299,31 +2299,6 @@ class Listbox(Widget):
i
=
self
.
tk
.
call
(
self
.
_w
,
'index'
,
index
)
i
=
self
.
tk
.
call
(
self
.
_w
,
'index'
,
index
)
if
i
==
'none'
:
return
None
if
i
==
'none'
:
return
None
return
getint
(
i
)
return
getint
(
i
)
def
itemcget
(
self
,
index
,
option
):
"""Return the resource value for an ITEM and an OPTION."""
return
self
.
tk
.
call
(
(
self
.
_w
,
'itemcget'
)
+
(
index
,
'-'
+
option
))
def
itemconfigure
(
self
,
index
,
cnf
=
None
,
**
kw
):
"""Configure resources of an ITEM.
The values for resources are specified as keyword arguments.
To get an overview about the allowed keyword arguments
call the method without arguments.
Valid resource names: background, foreground,
selectbackground, selectforeground."""
if
cnf
is
None
and
not
kw
:
cnf
=
{}
for
x
in
self
.
tk
.
split
(
self
.
tk
.
call
(
self
.
_w
,
'itemconfigure'
,
index
)):
cnf
[
x
[
0
][
1
:]]
=
(
x
[
0
][
1
:],)
+
x
[
1
:]
return
cnf
if
type
(
cnf
)
==
StringType
and
not
kw
:
x
=
self
.
tk
.
split
(
self
.
tk
.
call
(
self
.
_w
,
'itemconfigure'
,
index
,
'-'
+
cnf
))
return
(
x
[
0
][
1
:],)
+
x
[
1
:]
self
.
tk
.
call
((
self
.
_w
,
'itemconfigure'
,
index
)
+
self
.
_options
(
cnf
,
kw
))
itemconfig
=
itemconfigure
def
insert
(
self
,
index
,
*
elements
):
def
insert
(
self
,
index
,
*
elements
):
"""Insert ELEMENTS at INDEX."""
"""Insert ELEMENTS at INDEX."""
self
.
tk
.
call
((
self
.
_w
,
'insert'
,
index
)
+
elements
)
self
.
tk
.
call
((
self
.
_w
,
'insert'
,
index
)
+
elements
)
...
...
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