[wxPython-users] Changing the name of the 'Python' menu on OS X

Jamie Bullock jamie at postlude.co.uk
Fri Jul 6 12:39:39 PDT 2007


On Fri, 2007-07-06 at 16:25 +0300, roee shlomo wrote:
> Read http://wiki.wxpython.org/Optimizing_for_Mac_OS_X

I did, but it turns out that I didn't properly read the documentation on
the py2app website.

The solution is to add:

options=dict(py2app=dict(
                        plist=dict(
                                CFBundleName="YourAppName",
                                CFBundleExecutable="YourAppName",
				...additional plist items here...
                        ),
                ))

to setup.py

best,

Jamie 


> basically what you need to do is:
> - give wx.ID_ABOUT id to your about menu item
> - give wx.ID_PREFERENCES id to your preferences menu item
> - give wx.ID_EXIT id to your exit menu item
> - Build your app with py2app (the only way I know to change the label
> from 'Python' to the real app name, there might be some other way
> though).
> 
>  
> On 7/6/07, Jamie Bullock <jamie at postlude.co.uk> wrote: 
>         
>         Hi,
>         
>         Does anyone know of a way to change the name of the 'Python'
>         menu on OS
>         X, when using wxpython. Typically this menu contains 'About', 
>         'Preferences' and 'Quit' menu items, and usually has the same
>         name as
>         the program itself  e.g. 'Firefox'.
>         
>         Thanks,
>         
>         Jamie
>         
>         
>         --------------------------------------------------------------------- 
>         To unsubscribe, e-mail:
>         wxPython-users-unsubscribe at lists.wxwidgets.org
>         For additional commands, e-mail:
>         wxPython-users-help at lists.wxwidgets.org
>         
> 
> 
> 
> -- 
> http://code.google.com/p/lh-abc 





More information about the wxpython-users mailing list