Lib/idlelib/configdialog.py
def attach_var_callbacks(self):
        "Attach callbacks to variables that can be changed."
        self.font_size.trace_add('write', self.var_changed_font)
        self.font_name.trace_add('write', self.var_changed_font)
        self.font_bold.trace_add('write', self.var_changed_font)
        self.space_num.trace_add('write', self.var_changed_space_num)
        self.colour.trace_add('write', self.var_changed_colour)
        self.builtin_theme.trace_add('write', self.var_changed_builtin_theme)
        self.custom_theme.trace_add('write', self.var_changed_custom_theme)
        self.is_builtin_theme.trace_add('write', self.var_changed_is_builtin_theme)
        self.highlight_target.trace_add('write', self.var_changed_highlight_target)
        self.keybinding.trace_add('write', self.var_changed_keybinding)
        self.builtin_keys.trace_add('write', self.var_changed_builtin_keys)
        self.custom_keys.trace_add('write', self.var_changed_custom_keys)
        self.are_keys_builtin.trace_add('write', self.var_changed_are_keys_builtin)
        self.win_width.trace_add('write', self.var_changed_win_width)
        self.win_height.trace_add('write', self.var_changed_win_height)
        self.startup_edit.trace_add('write', self.var_changed_startup_edit)
        self.autosave.trace_add('write', self.var_changed_autosave)
Attach callbacks to variables that can be changed.
Attach callbacks to variables that can be changed.
Attach callbacks to variables that can be changed .
def attach_var_callbacks(self):
        self.font_size.trace_add('write', self.var_changed_font)
        self.font_name.trace_add('write', self.var_changed_font)
        self.font_bold.trace_add('write', self.var_changed_font)
        self.space_num.trace_add('write', self.var_changed_space_num)
        self.colour.trace_add('write', self.var_changed_colour)
        self.builtin_theme.trace_add('write', self.var_changed_builtin_theme)
        self.custom_theme.trace_add('write', self.var_changed_custom_theme)
        self.is_builtin_theme.trace_add('write', self.var_changed_is_builtin_theme)
        self.highlight_target.trace_add('write', self.var_changed_highlight_target)
        self.keybinding.trace_add('write', self.var_changed_keybinding)
        self.builtin_keys.trace_add('write', self.var_changed_builtin_keys)
        self.custom_keys.trace_add('write', self.var_changed_custom_keys)
        self.are_keys_builtin.trace_add('write', self.var_changed_are_keys_builtin)
        self.win_width.trace_add('write', self.var_changed_win_width)
        self.win_height.trace_add('write', self.var_changed_win_height)
        self.startup_edit.trace_add('write', self.var_changed_startup_edit)
        self.autosave.trace_add('write', self.var_changed_autosave)
def attach_var_callbacks ( self ) : self . font_size . trace_add ( 'write' , self . var_changed_font ) self . font_name . trace_add ( 'write' , self . var_changed_font ) self . font_bold . trace_add ( 'write' , self . var_changed_font ) self . space_num . trace_add ( 'write' , self . var_changed_space_num ) self . colour . trace_add ( 'write' , self . var_changed_colour ) self . builtin_theme . trace_add ( 'write' , self . var_changed_builtin_theme ) self . custom_theme . trace_add ( 'write' , self . var_changed_custom_theme ) self . is_builtin_theme . trace_add ( 'write' , self . var_changed_is_builtin_theme ) self . highlight_target . trace_add ( 'write' , self . var_changed_highlight_target ) self . keybinding . trace_add ( 'write' , self . var_changed_keybinding ) self . builtin_keys . trace_add ( 'write' , self . var_changed_builtin_keys ) self . custom_keys . trace_add ( 'write' , self . var_changed_custom_keys ) self . are_keys_builtin . trace_add ( 'write' , self . var_changed_are_keys_builtin ) self . win_width . trace_add ( 'write' , self . var_changed_win_width ) self . win_height . trace_add ( 'write' , self . var_changed_win_height ) self . startup_edit . trace_add ( 'write' , self . var_changed_startup_edit ) self . autosave . trace_add ( 'write' , self . var_changed_autosave )
Attach callbacks to variables that can be changed.
Attach callbacks to variables that can be changed .
"Attach callbacks to variables that can be changed."
self