summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/CallTipWindow.py
diff options
context:
space:
mode:
authorKurt B. Kaiser <kbk@shore.net>2005-11-22 02:17:10 (GMT)
committerKurt B. Kaiser <kbk@shore.net>2005-11-22 02:17:10 (GMT)
commit3b148ca43d6006a4309a23e9ffd0b79be50b3945 (patch)
tree55257d676e84c40fb18da960c9a9358cf0c6e985 /Lib/idlelib/CallTipWindow.py
parent2bf2af6d9b8e220621cb344e8b81fc6a8ff66836 (diff)
downloadcpython-3b148ca43d6006a4309a23e9ffd0b79be50b3945.zip
cpython-3b148ca43d6006a4309a23e9ffd0b79be50b3945.tar.gz
cpython-3b148ca43d6006a4309a23e9ffd0b79be50b3945.tar.bz2
Fix typo and update comment obsoleted by 'syntax' patch
Diffstat (limited to 'Lib/idlelib/CallTipWindow.py')
-rw-r--r--Lib/idlelib/CallTipWindow.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/Lib/idlelib/CallTipWindow.py b/Lib/idlelib/CallTipWindow.py
index 09d6414..afd4439 100644
--- a/Lib/idlelib/CallTipWindow.py
+++ b/Lib/idlelib/CallTipWindow.py
@@ -6,7 +6,7 @@ Used by the CallTips IDLE extension.
"""
from Tkinter import *
-HIDE_VIRTUAL_EVENT_NAME = "<<caltipwindow-hide>>"
+HIDE_VIRTUAL_EVENT_NAME = "<<calltipwindow-hide>>"
HIDE_SEQUENCES = ("<Key-Escape>", "<FocusOut>")
CHECKHIDE_VIRTUAL_EVENT_NAME = "<<calltipwindow-checkhide>>"
CHECKHIDE_SEQUENCES = ("<KeyRelease>", "<ButtonRelease>")
@@ -60,10 +60,7 @@ class CallTip:
self.tipwindow = tw = Toplevel(self.widget)
self.position_window()
- # XXX 12 Dec 2002 KBK The following command has two effects: It removes
- # the calltip window border (good) but also causes (at least on
- # Linux) the calltip to show as a top level window, burning through
- # any other window dragged over it. Also, shows on all viewports!
+ # remove border on calltip window
tw.wm_overrideredirect(1)
try:
# This command is only needed and available on Tk >= 8.4.0 for OSX