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
6fb20aa9
Kaydet (Commit)
6fb20aa9
authored
Haz 17, 2006
tarafından
Martin v. Löwis
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Patch #815924: Restore ability to pass type= and icon=
üst
3798da0f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
tkMessageBox.py
Lib/lib-tk/tkMessageBox.py
+4
-3
NEWS
Misc/NEWS
+3
-0
No files found.
Lib/lib-tk/tkMessageBox.py
Dosyayı görüntüle @
6fb20aa9
...
...
@@ -63,9 +63,10 @@ class Message(Dialog):
#
# convenience stuff
def
_show
(
title
=
None
,
message
=
None
,
icon
=
None
,
type
=
None
,
**
options
):
if
icon
:
options
[
"icon"
]
=
icon
if
type
:
options
[
"type"
]
=
type
# Rename _icon and _type options to allow overriding them in options
def
_show
(
title
=
None
,
message
=
None
,
_icon
=
None
,
_type
=
None
,
**
options
):
if
_icon
and
"icon"
not
in
options
:
options
[
"icon"
]
=
_icon
if
_type
and
"type"
not
in
options
:
options
[
"type"
]
=
_type
if
title
:
options
[
"title"
]
=
title
if
message
:
options
[
"message"
]
=
message
res
=
Message
(
**
options
)
.
show
()
...
...
Misc/NEWS
Dosyayı görüntüle @
6fb20aa9
...
...
@@ -163,6 +163,9 @@ Extension Modules
Library
-------
- Patch #815924: Restore ability to pass type= and icon= in tkMessageBox
functions.
- Patch #812986: Update turtle output even if not tracing.
- Patch #1494750: Destroy master after deleting children in
...
...
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