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
36911a1c
Kaydet (Commit)
36911a1c
authored
Ock 18, 1999
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Only deiconify when iconic.
üst
f87240f4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
EditorWindow.py
Tools/idle/EditorWindow.py
+4
-2
WindowList.py
Tools/idle/WindowList.py
+4
-2
No files found.
Tools/idle/EditorWindow.py
Dosyayı görüntüle @
36911a1c
...
@@ -157,8 +157,10 @@ class EditorWindow:
...
@@ -157,8 +157,10 @@ class EditorWindow:
menu
.
configure
(
postcommand
=
self
.
postwindowsmenu
)
menu
.
configure
(
postcommand
=
self
.
postwindowsmenu
)
def
wakeup
(
self
):
def
wakeup
(
self
):
self
.
top
.
tkraise
()
if
self
.
top
.
wm_state
()
==
"iconic"
:
self
.
top
.
wm_deiconify
()
self
.
top
.
wm_deiconify
()
else
:
self
.
top
.
tkraise
()
self
.
text
.
focus_set
()
self
.
text
.
focus_set
()
menu_specs
=
[
menu_specs
=
[
...
...
Tools/idle/WindowList.py
Dosyayı görüntüle @
36911a1c
...
@@ -49,8 +49,10 @@ class ListedToplevel(Toplevel):
...
@@ -49,8 +49,10 @@ class ListedToplevel(Toplevel):
def
wakeup
(
self
):
def
wakeup
(
self
):
try
:
try
:
self
.
tkraise
()
if
self
.
wm_state
()
==
"iconic"
:
self
.
wm_deiconify
()
self
.
wm_deiconify
()
else
:
self
.
tkraise
()
self
.
focus_set
()
self
.
focus_set
()
except
TclError
:
except
TclError
:
# This can happen when the window menu was torn off.
# This can happen when the window menu was torn off.
...
...
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