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')
def openConfigdialog(self): self.another = configDialog.ConfigDialog() self.another.show()
def config_dialog(event=None): import configDialog configDialog.ConfigDialog(root, 'Settings')
def config_dialog(event=None): import configDialog root.instance_dict = flist.inversedict configDialog.ConfigDialog(root, 'Settings')
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')