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
6a945a59
Kaydet (Commit)
6a945a59
authored
Tem 13, 2001
tarafından
Kurt B. Kaiser
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
py-cvs-rel2_1 (Rev 1.3) merge
"Make the test program work outside IDLE." -- GvR
üst
8220fdda
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
ObjectBrowser.py
Lib/idlelib/ObjectBrowser.py
+6
-6
No files found.
Lib/idlelib/ObjectBrowser.py
Dosyayı görüntüle @
6a945a59
...
@@ -134,18 +134,18 @@ def make_objecttreeitem(labeltext, object, setfunction=None):
...
@@ -134,18 +134,18 @@ def make_objecttreeitem(labeltext, object, setfunction=None):
# Test script
# Test script
def
test
():
def
_
test
():
import
sys
import
sys
from
Tkinter
import
Toplevel
from
Tkinter
import
Tk
import
PyShell
root
=
Tk
()
root
=
Toplevel
(
PyShell
.
root
)
root
.
configure
(
bd
=
0
,
bg
=
"yellow"
)
root
.
configure
(
bd
=
0
,
bg
=
"yellow"
)
root
.
focus_set
()
root
.
focus_set
()
sc
=
ScrolledCanvas
(
root
,
bg
=
"white"
,
highlightthickness
=
0
,
takefocus
=
1
)
sc
=
ScrolledCanvas
(
root
,
bg
=
"white"
,
highlightthickness
=
0
,
takefocus
=
1
)
sc
.
frame
.
pack
(
expand
=
1
,
fill
=
"both"
)
sc
.
frame
.
pack
(
expand
=
1
,
fill
=
"both"
)
item
=
make_objecttreeitem
(
"sys"
,
sys
)
item
=
make_objecttreeitem
(
"sys"
,
sys
)
node
=
TreeNode
(
sc
.
canvas
,
None
,
item
)
node
=
TreeNode
(
sc
.
canvas
,
None
,
item
)
node
.
expand
()
node
.
update
()
root
.
mainloop
()
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
test
()
_
test
()
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