Re: [MACTCL] Python tkinter
by Jack Jansen other posts by this author
Mar 28 2003 12:25PM messages near this date
Re: [MACTCL] Python tkinter
|
Re: [MACTCL] Catching minimization of a window?
On vrijdag, maa 28, 2003, at 07:03 Europe/Amsterdam, Greg Hamilton
wrote:
> The program creates and displays a Frame with a couple of buttons
> which have the correct labels on them. I can't focus or move the
> window and the buttons don't respond. When I click on the Frame or
> buttons or try to drag the window the program outputs the message
> 'SetFrontProcess failed,-606'
You cannot run python scripts which want access to the window manager
(whether it is via Cocoa, Carbon, Tk or whatever else) with "python",
you must run them with "pythonw". If you don't have pythonw (I don't
think the Fink distribution has one) you can create one yourself, but
it's a bit of work. If you search the pythonmac-sig archives on
www.python.org for "SetFrontProcess" you'll find some directions.
--
- Jack Jansen <Jack.Jansen@[...].com>
http://www.cwi.nl/~jack -
- If I can't dance I don't want to be part of your revolution -- Emma
Goldman -
-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
Tcl-mac mailing list
Tcl-mac@[...].net
https://lists.sourceforge.net/lists/listinfo/tcl-mac
Thread:
Greg Hamilton
Andrew Straw
Jack Jansen
|