Re: [Pythonmac-SIG] Getting control over the Apple menu

2012-11-01 Thread Ned Deily
In article <509308e1-ed1e-4ccb-8efe-f672e2b97...@mac.com>, w...@mac.com wrote: > On Nov 1, 2012, at 10:43 AM, Kevin Walzer wrote: > > On 11/1/12 9:37 AM, w...@mac.com wrote: > >> When running the script directly in the interpreter, that is, when I > >> invoke is as $ ./CM_GUI_2.py in a terminal

Re: [Pythonmac-SIG] Getting control over the Apple menu

2012-11-01 Thread wrw
On Nov 1, 2012, at 10:43 AM, Kevin Walzer wrote: > On 11/1/12 9:37 AM, w...@mac.com wrote: >> When running the script directly in the interpreter, that is, when I invoke >> is as $ ./CM_GUI_2.py in a terminal window (or as $ python CM_GUI_2.py) the >> first menu to the right of the Apple icon (

Re: [Pythonmac-SIG] Getting control over the Apple menu

2012-11-01 Thread Kevin Walzer
On 11/1/12 9:37 AM, w...@mac.com wrote: When running the script directly in the interpreter, that is, when I invoke is as $ ./CM_GUI_2.py in a terminal window (or as $ python CM_GUI_2.py) the first menu to the right of the Apple icon (the one I'd call the Application menu) remains named "Pytho

Re: [Pythonmac-SIG] Getting control over the Apple menu

2012-11-01 Thread wrw
On Nov 1, 2012, at 12:17 AM, Ned Deily wrote: > In article , w...@mac.com > wrote: >> On Oct 31, 2012, at 9:11 PM, Kevin Walzer wrote: >>> On 10/31/12 5:48 PM, w...@mac.com wrote: applemenu = Menu(menubar, tearoff = FALSE) >>> >>> Add the apple name to the menu object, cf: >>> >>> appl

Re: [Pythonmac-SIG] Getting control over the Apple menu

2012-11-01 Thread Kevin Walzer
On 10/31/12 9:49 PM, w...@mac.com wrote: Where should I have been looking to find that for myself, please? The Tk man pages discuss special menus, including the Apple menu; I figured it out in Tkinter by Googling for snippets. Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com _

Re: [Pythonmac-SIG] Getting control over the Apple menu

2012-10-31 Thread Ned Deily
In article , w...@mac.com wrote: > On Oct 31, 2012, at 9:11 PM, Kevin Walzer wrote: > > On 10/31/12 5:48 PM, w...@mac.com wrote: > >> applemenu = Menu(menubar, tearoff = FALSE) > > > > Add the apple name to the menu object, cf: > > > > applemenu = Menu(menubar, tearoff = FALSE, name='apple') >

Re: [Pythonmac-SIG] Getting control over the Apple menu

2012-10-31 Thread wrw
On Oct 31, 2012, at 9:11 PM, Kevin Walzer wrote: > On 10/31/12 5:48 PM, w...@mac.com wrote: >> applemenu = Menu(menubar, tearoff = FALSE) > > Add the apple name to the menu object, cf: > > applemenu = Menu(menubar, tearoff = FALSE, name='apple') > > That works for me. > > -- > Kevin Walzer >

Re: [Pythonmac-SIG] Getting control over the Apple menu

2012-10-31 Thread Kevin Walzer
On 10/31/12 5:48 PM, w...@mac.com wrote: applemenu = Menu(menubar, tearoff = FALSE) Add the apple name to the menu object, cf: applemenu = Menu(menubar, tearoff = FALSE, name='apple') That works for me. -- Kevin Walzer Code by Kevin http://www.codebykevin.com