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-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 k...@codebykevin.com 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

[Pythonmac-SIG] Getting control over the Apple menu

2012-10-31 Thread wrw
I'm slowly (VERY slowly) getting my arms wrapped around Tkinter and ttk (the themed widgets), but I'm up against a brick wall with menus. The problem is my Application menu (what I believe Tkinter still calls the Apple menu, that being an OS9 hold-over according to Google). I've been all over

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

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

2012-10-31 Thread wrw
On Oct 31, 2012, at 9:11 PM, Kevin Walzer k...@codebykevin.com 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

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

2012-10-31 Thread Ned Deily
In article d80a7264-c2e3-40b1-be19-d349be889...@mac.com, w...@mac.com wrote: On Oct 31, 2012, at 9:11 PM, Kevin Walzer k...@codebykevin.com 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: