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
639b8b8d
Kaydet (Commit)
639b8b8d
authored
Tem 06, 1994
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Misc changes by Steen
üst
e20864d6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
tst.py
Demo/tkinter/guido/tst.py
+5
-6
No files found.
Demo/tkinter/guido/tst.py
Dosyayı görüntüle @
639b8b8d
...
...
@@ -6,13 +6,12 @@ def do_hello():
print
'Hello world!'
class
Quit
(
Button
):
def
action
(
self
):
self
.
quit
()
def
__init__
(
self
,
master
=
None
,
cnf
=
{}):
Button
.
__init__
(
self
,
master
,
{
'text'
:
'Quit'
,
'command'
:
self
.
action
})
Button
.
config
(
self
,
cnf
)
({
'name'
:
'quit'
,
'text'
:
'Quit'
,
'command'
:
self
.
quit
},
cnf
))
class
Stuff
(
Canvas
):
def
enter
(
self
,
e
):
...
...
@@ -77,5 +76,5 @@ test.master.maxsize(500, 500)
test
.
testing
.
invoke
()
# Use the -i option and type ^C to get a prompt
test
.
mainloop
()
mainloop
()
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