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
8b1b8d62
Commit
8b1b8d62
authored
Sep 23, 2002
by
Tony Lownds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Work around Mac OS X transient window issues
parent
e555fc76
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
Lib/idlelib/CallTipWindow.py
Lib/idlelib/CallTipWindow.py
+8
-0
No files found.
Lib/idlelib/CallTipWindow.py
View file @
8b1b8d62
...
...
@@ -29,6 +29,14 @@ class CallTip:
self
.
tipwindow
=
tw
=
Toplevel
(
self
.
widget
)
tw
.
wm_overrideredirect
(
1
)
tw
.
wm_geometry
(
"+%d+%d"
%
(
x
,
y
))
try
:
# This command is only needed and available on Tk >= 8.4.0 for OSX
# Without it, call tips intrude on the typing process by grabbing
# the focus.
tw
.
tk
.
call
(
"::tk::unsupported::MacWindowStyle"
,
"style"
,
tw
.
_w
,
"help"
,
"noActivates"
)
except
TclError
:
pass
label
=
Label
(
tw
,
text
=
self
.
text
,
justify
=
LEFT
,
background
=
"#ffffe0"
,
relief
=
SOLID
,
borderwidth
=
1
,
font
=
self
.
widget
[
'font'
])
...
...
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