mirror of
https://github.com/python/cpython.git
synced 2025-08-30 13:38:43 +00:00
Issue #3068: Add Idle extension configuration dialog to Options menu.
Original patch by Tal Einat.
This commit is contained in:
parent
c803bd84b5
commit
a9421fb3a3
6 changed files with 279 additions and 21 deletions
|
@ -189,6 +189,8 @@ class EditorWindow(object):
|
|||
text.bind("<<python-docs>>", self.python_docs)
|
||||
text.bind("<<about-idle>>", self.about_dialog)
|
||||
text.bind("<<open-config-dialog>>", self.config_dialog)
|
||||
text.bind("<<open-config-extensions-dialog>>",
|
||||
self.config_extensions_dialog)
|
||||
text.bind("<<open-module>>", self.open_module)
|
||||
text.bind("<<do-nothing>>", lambda event: "break")
|
||||
text.bind("<<select-all>>", self.select_all)
|
||||
|
@ -543,6 +545,8 @@ class EditorWindow(object):
|
|||
|
||||
def config_dialog(self, event=None):
|
||||
configDialog.ConfigDialog(self.top,'Settings')
|
||||
def config_extensions_dialog(self, event=None):
|
||||
configDialog.ConfigExtensionsDialog(self.top)
|
||||
|
||||
def help_dialog(self, event=None):
|
||||
if self.root:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue