comp.lang.tcl
[Top] [All Lists]

Re: invoking

Subject: Re: invoking
From: "Larry W. Virden"
Date: Fri, 30 May 2008 06:44:48 -0700 PDT
Newsgroups: comp.lang.tcl

On May 30, 6:48 am, Ralf Fassel <ralf...@xxxxxx> wrote:

>
> I'm sure there is a better way, I just don't get it.

I had a couple thoughts when reading your posting.

The first was - I sure hope he doesn't have any widget in his
application that allows text input - because dealing with the space
binding everywhere could put a damper on that.

The second thought was "what happens if something _other_ than a tk
widget takes focus"? What I mean is this - I have used both Solaris
and Windows, and frequently encountered cases where some application
writer was so certain their application was important that they would
grab focus. So I would be working away in a window, minding my own
business, when suddenly the focus would shift to some other
application, which would then take the stuff I was typing as various
and unwanted commands, causing havok.

So if your application has ANY chance that it might be running at the
same time as some other application, you might want to anticipate that
the focus might move out of your program's control.

<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy