Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
0442f56c
Commit
0442f56c
authored
Mar 13, 2012
by
Benjamin Peterson
Browse files
Options
Browse Files
Download
Plain Diff
merge heads
parents
7d74b70e
f423a796
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
Lib/idlelib/CallTipWindow.py
Lib/idlelib/CallTipWindow.py
+5
-1
Misc/NEWS
Misc/NEWS
+2
-0
No files found.
Lib/idlelib/CallTipWindow.py
View file @
0442f56c
...
...
@@ -22,6 +22,7 @@ class CallTip:
self
.
parenline
=
self
.
parencol
=
None
self
.
lastline
=
None
self
.
hideid
=
self
.
checkhideid
=
None
self
.
checkhide_after_id
=
None
def
position_window
(
self
):
"""Check if needs to reposition the window, and if so - do it."""
...
...
@@ -102,7 +103,10 @@ class CallTip:
self
.
hidetip
()
else
:
self
.
position_window
()
self
.
widget
.
after
(
CHECKHIDE_TIME
,
self
.
checkhide_event
)
if
self
.
checkhide_after_id
is
not
None
:
self
.
widget
.
after_cancel
(
self
.
checkhide_after_id
)
self
.
checkhide_after_id
=
\
self
.
widget
.
after
(
CHECKHIDE_TIME
,
self
.
checkhide_event
)
def
hide_event
(
self
,
event
):
if
not
self
.
tipwindow
:
...
...
Misc/NEWS
View file @
0442f56c
...
...
@@ -24,6 +24,8 @@ Core and Builtins
Library
-------
-
Issue
#
5219
:
Prevent
event
handler
cascade
in
IDLE
.
-
Issue
#
3835
:
Refuse
to
use
unthreaded
Tcl
in
threaded
Python
.
-
Issue
#
2843
:
Add
new
Tk
API
to
Tkinter
.
...
...
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