ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> tcl-mac
tcl-mac
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved