Lines Matching defs:changes

39 changes = ConfigChanges()
86 # self.bind('<Alt-a>', self.Apply) #apply changes, save
175 """Apply config changes, then dismiss dialog."""
180 """Apply config changes and leave dialog open."""
182 changes.save_all()
192 changes.clear()
225 """Apply configuration changes to current windows.
228 with some of the configuration changes.
301 action set 3 options in changes structuree and changes the
317 adds all 3 font options to changes and calls set_samples.
420 """Store changes to font attributes.
422 When one font attribute changes, save them all, as they are
427 changes.add_option('main', 'EditorWindow', 'font', value)
429 changes.add_option('main', 'EditorWindow', 'font-size', value)
431 changes.add_option('main', 'EditorWindow', 'font-bold', value)
504 a custom theme from idleConf.userCfg['highlight'] and changes.
520 the color attributes of the current theme and changes for those tags.
534 it will be saved to changes and the highlight_sample and
560 create_new: Combine theme with changes and save.
784 changes.add_option('main', 'Theme', 'name', old_themes[0])
785 changes.add_option('main', 'Theme', 'name2', value)
788 changes.add_option('main', 'Theme', 'name', value)
789 changes.add_option('main', 'Theme', 'name2', '')
801 changes.add_option('main', 'Theme', 'name', value)
811 changes.add_option('main', 'Theme', 'default', value)
880 message = ('Your changes will be saved as a new Custom Theme. '
900 changes.add_option('highlight', theme, theme_element, new_color)
925 with the current changes applied. Once it is saved, then
947 # Apply any of the old theme's unsaved changes to the new theme.
948 if theme_name in changes['highlight']:
949 theme_changes = changes['highlight'][theme_name]
1045 # Handle any unsaved changes to this theme.
1046 if theme in changes['highlight']:
1047 theme_dict = changes['highlight'][theme]
1098 # Remove theme from changes, config, and file.
1099 changes.delete_section('highlight', theme_name)
1111 # User can't back out of these changes, they must be applied now.
1112 changes.save_all()
1147 a custom keyset from idleConf.userCfg['keys'] and changes. Button
1176 the 'keys' or 'extensions' changes tracker based on the binding type.
1183 create_new_key_set: Combine active keyset and changes.
1329 changes.add_option('main', 'Keys', 'name', old_keys[0])
1330 changes.add_option('main', 'Keys', 'name2', value)
1333 changes.add_option('main', 'Keys', 'name', value)
1334 changes.add_option('main', 'Keys', 'name2', '')
1342 changes.add_option('main', 'Keys', 'name', value)
1348 changes.add_option('main', 'Keys', 'default', value)
1360 changes.add_option('keys', key_set, event, value)
1364 changes.add_option('extensions', ext_keybind_section, event, value)
1395 if current_key_set_name in changes['keys']: # unsaved changes
1396 key_set_changes = changes['keys'][current_key_set_name]
1404 message = ('Your changes will be saved as a new Custom Key Set.'
1431 "Prompt for name of new key set and save changes using that name."
1456 # Handle any unsaved changes to prev key set.
1457 if prev_key_set_name in changes['keys']:
1458 key_set_changes = changes['keys'][prev_key_set_name]
1486 if keyset_name in changes['keys']:
1487 # Handle any unsaved changes to this key set.
1488 if bind_name in changes['keys'][keyset_name]:
1489 key = changes['keys'][keyset_name][bind_name]
1529 # Remove key set from changes, config, and file.
1530 changes.delete_section('keys', keyset_name)
1544 # User can't back out of these changes, they must be applied now.
1545 changes.save_all()
1575 callback that adds option to changes.
1784 default callback that adds option to changes.
1911 and saves the changes using idleConf.
1913 Some changes may require restarting IDLE. This depends on each
2071 """Save configuration changes to the user config file.
2103 changes user_helplist. These functions all call
2105 rewrite changes['main']['HelpFiles'].
2207 "Clear and rebuild the HelpFiles section in changes"
2208 changes['main']['HelpFiles'] = {}
2210 changes.add_option(
2263 "Return default callback function to add values to changes instance."
2265 "Add config values to changes instance."
2266 changes.add_option(*config, var.get())
2290 these changes apply to all versions of IDLE installed on this
2291 machine. [Cancel] only cancels changes made since the last save.
2392 # Track changes to the canvas and frame width and sync them,