On 6/15/12 2:06 PM, Lynn Oliver wrote:
While I was able to figure out the preferences menu by looking at the idlelib 
sources, I couldn't get the application/about menu to work.

Here's how I get the correct application dialog in the 'about myapp" menu:

self.createcommand('tkAboutDialog', self.aboutProgram)
    #dialog for 'about program'
    def aboutProgram(self):
        self.tk.call('tk::mac::standardAboutPanel')
(You can substitute any Python bits here that you want--the key is to map the 'tkAboutDialog' command to some kind of Python function or method.)

--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss@python.org
http://mail.python.org/mailman/listinfo/tkinter-discuss

Reply via email to