[Pythonmac-SIG] Did anyone play with TransformProcessType yet?
Jack Jansen
Jack.Jansen at cwi.nl
Thu Jul 7 23:08:55 CEST 2005
No, I've not come out of hiding just yet (still far too busy with
Ambulant to do any Python work), but I came across
TransformProcessType just tonight, so I did a quick experiment and it
seems to work.
What it does is turn any process into a full-fledged windowing
application, with a dock icon, the possibility of a menu bar, etc. So
this may be the way to get rid of "pythonw". I quickly added a method
MacOS.SetWMAvailable(), and it seems good enough for running the IDE
with "python" in stead of "pythonw". The icon is ugly (a terminal-
style script), and the application menu title is "python" in stead of
whatever script you're running, but that can all be fixed.
Did anyone else have a look at this call? Is it worth it to invest
some time into it? If it is I'll check it in and people who build
Python from CVS can play around with it.
Please reply also to me personally, I still have 847 pythonmac-sig
mails waiting for me so if you reply only to the list it'll be a long
time before I see it...
--
Jack Jansen, <Jack.Jansen at cwi.nl>, http://www.cwi.nl/~jack
If I can't dance I don't want to be part of your revolution -- Emma
Goldman
More information about the Pythonmac-SIG
mailing list