On Sep 11, 3:53 am, eb303 wrote:
> For the OP: the problem comes from the tcl/tk level. Running a tcl
> script just opening a window from the terminal shows the same
> behaviour. You might want to forward the question to the tcl guys.
Done:
https://sourceforge.net/mailarchive/forum.php?thread_nam
On Sep 11, 10:40 am, Hendrik van Rooyen
wrote:
> On Friday 11 September 2009 09:53:56 eb303 wrote:
>
> > On Sep 11, 9:14 am, Hendrik van Rooyen
> > wrote:
> > > look for widget.focus_force()
> > > and look for widget.grab_set_global()
>
> > Doesn't work. BTW, forcing the focus or setting the grab
On Friday 11 September 2009 09:53:56 eb303 wrote:
> On Sep 11, 9:14 am, Hendrik van Rooyen
> wrote:
> > look for widget.focus_force()
> > and look for widget.grab_set_global()
>
> Doesn't work. BTW, forcing the focus or setting the grab globally are
> usually considered very annoying and I don't
On Sep 11, 9:14 am, Hendrik van Rooyen
wrote:
> On Thursday 10 September 2009 18:19:09 Joshua Bronson wrote:
>
> > True, but it'll still be a lot less painful for me to test my app if I
> > can get it to steal focus
> > when launched from the command line. If anyone knows how to do this in
> > Tki
On Thursday 10 September 2009 18:19:09 Joshua Bronson wrote:
> True, but it'll still be a lot less painful for me to test my app if I
> can get it to steal focus
> when launched from the command line. If anyone knows how to do this in
> Tkinter, help would be much appreciated.
>
look for widget.f
Hi Joshua,
At first I was puzzled by this, because if you run something like
"open -a TextEdit", TextEdit gets the focus. But then I realized this
must be because of the "open" command. Indeed, if you try running
something like "/Applications/MacPorts/Python\ 2.6/IDLE.app/Contents/
MacOS/IDLE" f
Hey Kevin,
Thanks for your quick reply.
On Sep 10, 10:12 am, Kevin Walzer wrote:
> On 9/10/09 1:27 AM, Joshua Bronson wrote:
> > If you try something like:
>
> > $ python -m Tkinter -c 'Tkinter._test()'
>
> > in Terminal on OS X, you'll notice that the window that is spawned
> > does not get foc
On 9/10/09 1:27 AM, Joshua Bronson wrote:
If you try something like:
$ python -m Tkinter -c 'Tkinter._test()'
in Terminal on OS X, you'll notice that the window that is spawned
does not get focus, rather focus remains in Terminal. Furthermore, if
you hit Command+Tab to switch focus to the Pytho
If you try something like:
$ python -m Tkinter -c 'Tkinter._test()'
in Terminal on OS X, you'll notice that the window that is spawned
does not get focus, rather focus remains in Terminal. Furthermore, if
you hit Command+Tab to switch focus to the Python process, you'll
notice that for some reaso