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
2b91fadc
Kaydet (Commit)
2b91fadc
authored
Eyl 25, 2016
tarafından
Serhiy Storchaka
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #27611: Fixed support of default root window in the Tix module.
üst
0d0aa32d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
Tix.py
Lib/lib-tk/Tix.py
+8
-4
NEWS
Misc/NEWS
+2
-0
No files found.
Lib/lib-tk/Tix.py
Dosyayı görüntüle @
2b91fadc
...
...
@@ -477,10 +477,14 @@ class DisplayStyle:
(multiple) Display Items"""
def
__init__
(
self
,
itemtype
,
cnf
=
{},
**
kw
):
master
=
Tkinter
.
_default_root
if
not
master
and
'refwindow'
in
cnf
:
master
=
cnf
[
'refwindow'
]
elif
not
master
and
'refwindow'
in
kw
:
master
=
kw
[
'refwindow'
]
elif
not
master
:
raise
RuntimeError
,
"Too early to create display style: no root window"
if
'refwindow'
in
kw
:
master
=
kw
[
'refwindow'
]
elif
'refwindow'
in
cnf
:
master
=
cnf
[
'refwindow'
]
else
:
master
=
Tkinter
.
_default_root
if
not
master
:
raise
RuntimeError
(
"Too early to create display style: no root window"
)
self
.
tk
=
master
.
tk
self
.
stylename
=
self
.
tk
.
call
(
'tixDisplayStyle'
,
itemtype
,
*
self
.
_options
(
cnf
,
kw
)
)
...
...
Misc/NEWS
Dosyayı görüntüle @
2b91fadc
...
...
@@ -42,6 +42,8 @@ Core and Builtins
Library
-------
- Issue #27611: Fixed support of default root window in the Tix module.
- Issue #24363: When parsing HTTP header fields, if an invalid line is
encountered, skip it and continue parsing. Previously, no more header
fields were parsed, which could lead to fields for HTTP framing like
...
...
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