Re: [Pythonmac-SIG] Should Python.app be an LSUIElement = 1 app?

2009-02-02 Thread Bill Janssen
Robin Dunn wrote: > Bill Janssen wrote: > > But only tkinter is part of the Python distribution, I believe. Of > > course, whoever supports the various non-standard GUI toolkits might > > also want to make changes, if necessary. Of course, that's a pretty > > standard thing that most third-part

Re: [Pythonmac-SIG] Should Python.app be an LSUIElement = 1 app?

2009-02-02 Thread Robin Dunn
Bill Janssen wrote: But only tkinter is part of the Python distribution, I believe. Of course, whoever supports the various non-standard GUI toolkits might also want to make changes, if necessary. Of course, that's a pretty standard thing that most third-party packages have to do when a new ver

Re: [Pythonmac-SIG] wx Window Flashes and Closes Immediately

2009-02-02 Thread Robin Dunn
Christopher Barker wrote: Cody Precord wrote: To see the traceback of errors you should create the app object with wx.App(False) to disable redirection of output, so tracebacks will be printed to the console. I thought Robin said that this default was going to be changed, so that newbies wou

Re: [Pythonmac-SIG] Should Python.app be an LSUIElement = 1 app?

2009-02-02 Thread Bill Janssen
Christopher Barker wrote: > Bill Janssen wrote: > > Setting LSBackgroundOnly doesn't prevent that, it just sets the default. > > I don't understand -- what default? just the behavior when the app > starts, but then it can still open windows, etc? Chris, if you followed the thread, you'll know

Re: [Pythonmac-SIG] Should Python.app be an LSUIElement = 1 app?

2009-02-02 Thread Christopher Barker
Bill Janssen wrote: Setting LSBackgroundOnly doesn't prevent that, it just sets the default. I don't understand -- what default? just the behavior when the app starts, but then it can still open windows, etc? when people are testing an debugging GUI apps (TK, or wx, or) they should be

Re: [Pythonmac-SIG] Should Python.app be an LSUIElement = 1 app?

2009-02-02 Thread Bill Janssen
Christopher Barker wrote: > Ned Deily wrote: > >> I'm thinking that the right thing to do about rocket-in-the-dock should > >> be to change the Info.plist of Python.app, to include the setting > >> "LSUIElement: 1". > > > > There's also LSBackgroundOnly. That might be even more appropriate. >

Re: [Pythonmac-SIG] Should Python.app be an LSUIElement = 1 app?

2009-02-02 Thread Christopher Barker
Ned Deily wrote: I'm thinking that the right thing to do about rocket-in-the-dock should be to change the Info.plist of Python.app, to include the setting "LSUIElement: 1". There's also LSBackgroundOnly. That might be even more appropriate. I doubt it -- the whole point of this mess was to

Re: [Pythonmac-SIG] Should Python.app be an LSUIElement = 1 app?

2009-02-02 Thread Ned Deily
In article <77657.1233609...@parc.com>, Bill Janssen wrote: > Ned Deily wrote: > > In article <73365.1233593...@parc.com>, Bill Janssen > > wrote: > > > I'm thinking that the right thing to do about rocket-in-the-dock should > > > be to change the Info.plist of Python.app, to include the setti

Re: [Pythonmac-SIG] Should Python.app be an LSUIElement = 1 app?

2009-02-02 Thread Bill Janssen
Ned Deily wrote: > In article <73365.1233593...@parc.com>, Bill Janssen > wrote: > > > I'm thinking that the right thing to do about rocket-in-the-dock should > > be to change the Info.plist of Python.app, to include the setting > > "LSUIElement: 1". > > There's also LSBackgroundOnly. That m

Re: [Pythonmac-SIG] Should Python.app be an LSUIElement = 1 app?

2009-02-02 Thread Ned Deily
In article <73365.1233593...@parc.com>, Bill Janssen wrote: > I'm thinking that the right thing to do about rocket-in-the-dock should > be to change the Info.plist of Python.app, to include the setting > "LSUIElement: 1". There's also LSBackgroundOnly. That might be even more appropriate. Bu

Re: [Pythonmac-SIG] Should Python.app be an LSUIElement = 1 app?

2009-02-02 Thread Bill Janssen
Christopher Barker wrote: > Bill Janssen wrote: > > Yes, that sounds like a good idea to me. I've never used py2app; does > > it include a private copy of Python? > > yes and no: > > yes, if you run it with the non-apple python > > no, if you run it with Apple's system python (which I think i

Re: [Pythonmac-SIG] Should Python.app be an LSUIElement = 1 app?

2009-02-02 Thread Christopher Barker
Bill Janssen wrote: Yes, that sounds like a good idea to me. I've never used py2app; does it include a private copy of Python? yes and no: yes, if you run it with the non-apple python no, if you run it with Apple's system python (which I think is next to useless, frankly -- Apple does not k

Re: [Pythonmac-SIG] Should Python.app be an LSUIElement = 1 app?

2009-02-02 Thread Bill Janssen
Christopher Barker wrote: > Bill Janssen wrote: > > It seems to me that this is what we want for the Python interpreter > > proper. > > could be. It sounds promising. > > > Applications (like IDLE) that are indeed proper foreground apps > > can always call TransformProcessType() to override th

Re: [Pythonmac-SIG] Should Python.app be an LSUIElement = 1 app?

2009-02-02 Thread Christopher Barker
Bill Janssen wrote: It seems to me that this is what we want for the Python interpreter proper. could be. It sounds promising. Applications (like IDLE) that are indeed proper foreground apps can always call TransformProcessType() to override this setting and get a dock icon for themselves.

Re: [Pythonmac-SIG] wx Window Flashes and Closes Immediately

2009-02-02 Thread Christopher Barker
Cody Precord wrote: To see the traceback of errors you should create the app object with wx.App(False) to disable redirection of output, so tracebacks will be printed to the console. I thought Robin said that this default was going to be changed, so that newbies would have this issue less --

[Pythonmac-SIG] Should Python.app be an LSUIElement = 1 app?

2009-02-02 Thread Bill Janssen
I'm thinking that the right thing to do about rocket-in-the-dock should be to change the Info.plist of Python.app, to include the setting "LSUIElement: 1". Here's the doc from Apple: ``LSUIElement (String). If this key is set to '1', Launch Services runs the application as an agent application. A