Пример #1
0
    def config_dialog(event=None):
        "Handle Options 'Configure IDLE' event."
        # Synchronize with EditorWindow.EditorWindow.config_dialog.
        import configDialog

        # Ensure that the root object has an instance_dict attribute,
        # mirrors code in EditorWindow (although that sets the attribute
        # on an EditorWindow instance that is then passed as the first
        # argument to ConfigDialog)
        root.instance_dict = flist.inversedict
        configDialog.ConfigDialog(root, 'Settings')
Пример #2
0
 def openConfigdialog(self):
     self.another = configDialog.ConfigDialog()
     self.another.show()
Пример #3
0
 def config_dialog(event=None):
     import configDialog
     configDialog.ConfigDialog(root, 'Settings')
Пример #4
0
 def config_dialog(event=None):
     import configDialog
     root.instance_dict = flist.inversedict
     configDialog.ConfigDialog(root, 'Settings')
Пример #5
0
 def _open_config_dialog(self, event=None):
     # When changing colors and saving it, it requires the attribute
     # instance_dict making necessary to pass self.editwin.top as the
     # parent
     configDialog.ConfigDialog(self.editwin.top, 'Settings')