From: Kevin W. <kw...@co...> - 2011-09-09 00:50:05
|
On 9/8/11 8:05 PM, Steven wrote: > With multi window apps, a friend has been lamenting having to click twice when switching between windows (ie - one click to get focus, another click to activate a widget), which is unlike on Linux and Windows. > > I tried declaring secondary toplevels as transient, but to no avail. > > ... So now my only idea is an ugly hack like what i've outline below. We collect the FocisIn click, and generate an extra Button event at the same window location. I havent written anything yet. > > Has anyone successfully tried this, or worked around the "have to click twice" issue in some other way ? Perhaps it's possible with an Operating System tweak, or even a custom compilation of Tcl, which we already include with our App (http://scidvspc.sf.net) because of problems with Snow Leopard's Wish 8.5.7. > > Cheers, Steven Atkinson I'm not sure I see the issues you are reporting. I have downloaded your app and can click on a button in a background window ("click-through" behavior) just fine. In any event, the build of Tk you are using appears to be obsolete--it's based on Carbon as far as I can tell. No bugs in that branch of Tk are being fixed at this point. -- Kevin Walzer Code by Kevin http://www.codebykevin.com |