From: Jeff H. <jeffh@ActiveState.com> - 2005-11-29 19:12:44
|
Brian Griffin wrote: > > functionality, and Brian pointed out that right-click is indeed > > valid for inactive windows (though not <1> on any I can find), > > Huh? Press (lmb) the Back button on Safari. It will activate the > window AND go back. The only difference between <1> and <2> is that > <2> doesn't Activate the window, but the action still happens! I should point out that I use Firefox, which responds to neither <1> nor <2> unless Active. > > the trick is how to enable this correctly. We don't want the > > standard <1> or even <2> to all of a sudden be active for all > > Tk apps without the <Activate>. Ideas? > > It appears to me that Active and Focus are tied together, but Mouse > events are independent of either, except for Wheel events. I see > effects of <1>, <2>, <Enter>, and <Leave>. It may be necessary to > pass all the mouse events through and leave the exact behavior up to > the programmer. It might help to be able to query Active state (no > pun intended) without tracking <Activate> <Deactivate> events. In this case, we will have to mock up extra docs and/or helper code that allows users to become "compliant" with standard OS X behavior. Otherwise we reenable all this and all of a sudden all Tk apps are reacting to any click, any time, unlike the majority of current OS X apps. Jeff |