summaryrefslogtreecommitdiff
path: root/Lib/idlelib/CallTipWindow.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2015-09-26 20:03:57 -0400
committerTerry Jan Reedy <tjreedy@udel.edu>2015-09-26 20:03:57 -0400
commitd2134c71a12e8deac9ba6b4f4ffe4d271d49cabe (patch)
treea3422dd53b1b2e1b3496723cdbd8a6942a38157e /Lib/idlelib/CallTipWindow.py
parent00e4ce3a36eaf22e14dc6915ab482e7605ce1b72 (diff)
downloadcpython-git-d2134c71a12e8deac9ba6b4f4ffe4d271d49cabe.tar.gz
Issue #24570: Idle: make calltip and completion boxes appear on Macs
affected by a tk regression. Initial patch by Mark Roseman.
Diffstat (limited to 'Lib/idlelib/CallTipWindow.py')
-rw-r--r--Lib/idlelib/CallTipWindow.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/idlelib/CallTipWindow.py b/Lib/idlelib/CallTipWindow.py
index 170d14653a..8e68a76b2a 100644
--- a/Lib/idlelib/CallTipWindow.py
+++ b/Lib/idlelib/CallTipWindow.py
@@ -72,6 +72,7 @@ class CallTip:
background="#ffffe0", relief=SOLID, borderwidth=1,
font = self.widget['font'])
self.label.pack()
+ tw.lift() # work around bug in Tk 8.5.18+ (issue #24570)
self.checkhideid = self.widget.bind(CHECKHIDE_VIRTUAL_EVENT_NAME,
self.checkhide_event)