Hello,
I'm seeing changes in toplevel management going from wish 8.4.7
(default on Mac OS X 10.5.3) to wish 8.5.2 (that I built from sources).
First thing: when doing
toplevel .t ; wm overrideredirect .t 1
bind all <KeyPress> {puts %K}
bind all <Motion> {puts "%x %y"}
then I can click on the toplevel in 8.4.7 to bring it to the
foreground, and it receives mouse and keyboard events. In 8.5.2 I have
no way to let the toplevel receive keyboard events. First, when
clicking on it, it doesn't respond and stays in the background. When
using "raise .t", it does come to the foreground and receives mouse
events, but still doesn't receive any keyboard events.
Is it a bug ? A feature ? Is there a way that I can have a
"overrideredirect 1" toplevel to receive keyboard events ?
Second thing: I have a binary extension that adds a tcl command to
hide the system menu bar and dock (I'm doing all this to have a
fullscreen tk window). It calls:
#include <ApplicationServices/ApplicationServices.h>
SetSystemUIMode (kUIModeAllHidden, (SystemUIOptions)0);
On 8.4.7, I can call the command in the console, the dock and menu bar
remain hidden when I click on other toplevels. On 8.5.2, as soon as I
bring a different toplevel to the foreground, the menu bar and dock
reappear (and remain on the screen if I bring back the first toplevel
on the foreground).
Any hints on how to fix that ?
Thanks,
François
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
Tcl-mac mailing list
tcl-mac@...
https://lists.sourceforge.net/lists/listinfo/tcl-mac