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
6b7a7e9f
Kaydet (Commit)
6b7a7e9f
authored
Eyl 11, 1996
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Bug fixes in index&icursor suggested by Nils Fischbeck.
üst
ee09fc1c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
Canvas.py
Lib/lib-tk/Canvas.py
+5
-5
Canvas.py
Lib/tkinter/Canvas.py
+5
-5
No files found.
Lib/lib-tk/Canvas.py
Dosyayı görüntüle @
6b7a7e9f
...
@@ -56,10 +56,10 @@ class CanvasItem:
...
@@ -56,10 +56,10 @@ class CanvasItem:
self
.
canvas
.
focus
(
self
.
id
)
self
.
canvas
.
focus
(
self
.
id
)
def
gettags
(
self
):
def
gettags
(
self
):
return
self
.
canvas
.
gettags
(
self
.
id
)
return
self
.
canvas
.
gettags
(
self
.
id
)
def
icursor
(
self
):
def
icursor
(
self
,
index
):
self
.
canvas
.
icursor
(
self
.
id
)
self
.
canvas
.
icursor
(
self
.
id
,
index
)
def
index
(
self
):
def
index
(
self
,
index
):
return
self
.
canvas
.
index
(
self
.
id
)
return
self
.
canvas
.
index
(
self
.
id
,
index
)
def
insert
(
self
,
beforethis
,
string
):
def
insert
(
self
,
beforethis
,
string
):
self
.
canvas
.
insert
(
self
.
id
,
beforethis
,
string
)
self
.
canvas
.
insert
(
self
.
id
,
beforethis
,
string
)
def
lower
(
self
,
belowthis
=
None
):
def
lower
(
self
,
belowthis
=
None
):
...
@@ -154,7 +154,7 @@ class Group:
...
@@ -154,7 +154,7 @@ class Group:
def
gettags
(
self
):
def
gettags
(
self
):
return
self
.
canvas
.
tk
.
splitlist
(
self
.
_do
(
'gettags'
,
self
.
tag
))
return
self
.
canvas
.
tk
.
splitlist
(
self
.
_do
(
'gettags'
,
self
.
tag
))
def
icursor
(
self
,
index
):
def
icursor
(
self
,
index
):
return
self
.
_do
(
'icursor'
)
return
self
.
_do
(
'icursor'
,
index
)
def
index
(
self
,
index
):
def
index
(
self
,
index
):
return
self
.
canvas
.
tk
.
getint
(
self
.
_do
(
'index'
,
index
))
return
self
.
canvas
.
tk
.
getint
(
self
.
_do
(
'index'
,
index
))
def
insert
(
self
,
beforeThis
,
string
):
def
insert
(
self
,
beforeThis
,
string
):
...
...
Lib/tkinter/Canvas.py
Dosyayı görüntüle @
6b7a7e9f
...
@@ -56,10 +56,10 @@ class CanvasItem:
...
@@ -56,10 +56,10 @@ class CanvasItem:
self
.
canvas
.
focus
(
self
.
id
)
self
.
canvas
.
focus
(
self
.
id
)
def
gettags
(
self
):
def
gettags
(
self
):
return
self
.
canvas
.
gettags
(
self
.
id
)
return
self
.
canvas
.
gettags
(
self
.
id
)
def
icursor
(
self
):
def
icursor
(
self
,
index
):
self
.
canvas
.
icursor
(
self
.
id
)
self
.
canvas
.
icursor
(
self
.
id
,
index
)
def
index
(
self
):
def
index
(
self
,
index
):
return
self
.
canvas
.
index
(
self
.
id
)
return
self
.
canvas
.
index
(
self
.
id
,
index
)
def
insert
(
self
,
beforethis
,
string
):
def
insert
(
self
,
beforethis
,
string
):
self
.
canvas
.
insert
(
self
.
id
,
beforethis
,
string
)
self
.
canvas
.
insert
(
self
.
id
,
beforethis
,
string
)
def
lower
(
self
,
belowthis
=
None
):
def
lower
(
self
,
belowthis
=
None
):
...
@@ -154,7 +154,7 @@ class Group:
...
@@ -154,7 +154,7 @@ class Group:
def
gettags
(
self
):
def
gettags
(
self
):
return
self
.
canvas
.
tk
.
splitlist
(
self
.
_do
(
'gettags'
,
self
.
tag
))
return
self
.
canvas
.
tk
.
splitlist
(
self
.
_do
(
'gettags'
,
self
.
tag
))
def
icursor
(
self
,
index
):
def
icursor
(
self
,
index
):
return
self
.
_do
(
'icursor'
)
return
self
.
_do
(
'icursor'
,
index
)
def
index
(
self
,
index
):
def
index
(
self
,
index
):
return
self
.
canvas
.
tk
.
getint
(
self
.
_do
(
'index'
,
index
))
return
self
.
canvas
.
tk
.
getint
(
self
.
_do
(
'index'
,
index
))
def
insert
(
self
,
beforeThis
,
string
):
def
insert
(
self
,
beforeThis
,
string
):
...
...
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