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

Bill Janssen janssen at parc.com
Tue Feb 3 00:20:33 CET 2009


Christopher Barker <Chris.Barker at noaa.gov> 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.  
> 
> I doubt it -- the whole point of this mess was to allow apps full-on
> desktop access.

Setting LSBackgroundOnly doesn't prevent that, it just sets the default.

> Maybe we just need to return to the old python vs. pythonw
> distinction, but with a different default -- have a python-no-gui
> option.

I don't believe we need to.

> > ... setting it does have the side effect of making IDLE's menus
> > disappear when launched from the command line (bin/idle).
> 
> This is no OK -- it may be OK for IDLE itself, but when people are
> testing an debugging GUI apps (TK, or wx, or....) they should be able
> to start a simple script at the command line without any restrictions.

Sure, "open myapp.app".  But if you follow the conversation a bit
further, I think we've found a place to enable that for _tkinter.

Bill


More information about the Pythonmac-SIG mailing list