diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2015-09-21 02:55:51 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2015-09-21 02:55:51 (GMT) |
commit | 4fb0cf7b87b4122e71799c0bd9c485d89262ef84 (patch) | |
tree | 81aa7404ac545fda76e14a66a207d3e2924d2820 /Lib/idlelib/macosxSupport.py | |
parent | 1de516e1df0b451c15b0c449e80c3632783ed2fc (diff) | |
parent | b50c6377a665a92ee42ef1b0014fa3de7ae5905a (diff) | |
download | cpython-4fb0cf7b87b4122e71799c0bd9c485d89262ef84.zip cpython-4fb0cf7b87b4122e71799c0bd9c485d89262ef84.tar.gz cpython-4fb0cf7b87b4122e71799c0bd9c485d89262ef84.tar.bz2 |
Merge with 3.4
Diffstat (limited to 'Lib/idlelib/macosxSupport.py')
-rw-r--r-- | Lib/idlelib/macosxSupport.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Lib/idlelib/macosxSupport.py b/Lib/idlelib/macosxSupport.py index 1030afe..b96bae1 100644 --- a/Lib/idlelib/macosxSupport.py +++ b/Lib/idlelib/macosxSupport.py @@ -159,10 +159,14 @@ def overrideRootMenu(root, flist): WindowList.register_callback(postwindowsmenu) def about_dialog(event=None): + "Handle Help 'About IDLE' event." + # Synchronize with EditorWindow.EditorWindow.about_dialog. from idlelib import aboutDialog aboutDialog.AboutDialog(root, 'About IDLE') def config_dialog(event=None): + "Handle Options 'Configure IDLE' event." + # Synchronize with EditorWindow.EditorWindow.config_dialog. from idlelib import configDialog # Ensure that the root object has an instance_dict attribute, @@ -170,10 +174,11 @@ def overrideRootMenu(root, flist): # on an EditorWindow instance that is then passed as the first # argument to ConfigDialog) root.instance_dict = flist.inversedict - root.instance_dict = flist.inversedict configDialog.ConfigDialog(root, 'Settings') def help_dialog(event=None): + "Handle Help 'IDLE Help' event." + # Synchronize with EditorWindow.EditorWindow.help_dialog. from idlelib import help help.show_idlehelp(root) |