[issue11571] Turtle window pops under the terminal on OSX

Alexander Belopolsky report at bugs.python.org
Wed Mar 16 16:58:54 CET 2011


Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:

On Wed, Mar 16, 2011 at 11:26 AM, Ronald Oussoren
<report at bugs.python.org> wrote:
..
> The attached patch forces the window to the front by first making the window
> a topmost window and then resetting that flag.
>
> Could you test if this does want you'd like it to?

Yes, this works.  Nice trick - did not think of it.

I don't use idle, but someone should test that this works when turtle
is used by idle.  It works fine when I start idle from command line
(in which case idle itself pops under the terminal), but I understand
that most users start idle from Finder or the Dock and I don't have
that set up.

A nit-pick: in the current turtle code module imports and from module
imports are visually separated.   Consider moving "import sys" below
"import inspect".

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11571>
_______________________________________


More information about the Python-bugs-list mailing list