Re: [Pythonmac-SIG] Patch to IDLE

2009-05-20 Thread Kevin Walzer
Ronald Oussoren wrote: File bugs with the Tk-Cocoa developers. I'd consider both the addition of an unwanted help menu and the, yet again, changed way to surpress the default application menu bugs in Tk. We could continue to add more and more workarounds to IDLE, but it might be early eno

Re: [Pythonmac-SIG] Patch to IDLE

2009-05-19 Thread Kevin Walzer
Ronald Oussoren wrote: File bugs with the Tk-Cocoa developers. I'd consider both the addition of an unwanted help menu and the, yet again, changed way to surpress the default application menu bugs in Tk. We could continue to add more and more workarounds to IDLE, but it might be early enoug

Re: [Pythonmac-SIG] Patch to IDLE

2009-05-19 Thread Ronald Oussoren
On 19 May, 2009, at 17:14, Kevin Walzer wrote: Ronald Oussoren wrote: I would have thought that overrideRootMenu is the right location for your change, that function should be called (by setupApp in the same function) by the time everything is set up (PyShell calls setApp just before ope

Re: [Pythonmac-SIG] Patch to IDLE

2009-05-19 Thread Kevin Walzer
Ronald Oussoren wrote: I would have thought that overrideRootMenu is the right location for your change, that function should be called (by setupApp in the same function) by the time everything is set up (PyShell calls setApp just before opening the console window). The IDLE codebase can be

Re: [Pythonmac-SIG] Patch to IDLE

2009-05-19 Thread Ronald Oussoren
On 19 May, 2009, at 3:51, Kevin Walzer wrote: I'm trying to patch IDLE to work better with the Cocoa fork of Tcl/ Tk. With Tk-Cocoa, in order to correctly set up the Apple/ Application menu, you have to call the equivalent of 'self.configure(menu=menubar)' after everything else is set up.