Lib/idlelib/configdialog.py
def var_changed_keybinding(self, *params):
        "Store change to a keybinding."
        value = self.keybinding.get()
        key_set = self.custom_keys.get()
        event = self.list_bindings.get(ANCHOR).split()[0]
        if idleConf.IsCoreBinding(event):
            changes.add_option('keys', key_set, event, value)
        else:  # Event is an extension binding.
            ext_name = idleConf.GetExtnNameForEvent(event)
            ext_keybind_section = ext_name + '_cfgBindings'
            changes.add_option('extensions', ext_keybind_section, event, value)
Store change to a keybinding.
Store change to a keybinding.
Store change to a keybinding .
def var_changed_keybinding(self, *params):
        value = self.keybinding.get()
        key_set = self.custom_keys.get()
        event = self.list_bindings.get(ANCHOR).split()[0]
        if idleConf.IsCoreBinding(event):
            changes.add_option('keys', key_set, event, value)
        else:  
            ext_name = idleConf.GetExtnNameForEvent(event)
            ext_keybind_section = ext_name + '_cfgBindings'
            changes.add_option('extensions', ext_keybind_section, event, value)
def var_changed_keybinding ( self , * params ) : value = self . keybinding . get ( ) key_set = self . custom_keys . get ( ) event = self . list_bindings . get ( ANCHOR ) . split ( ) [ 0 ] if idleConf . IsCoreBinding ( event ) : changes . add_option ( 'keys' , key_set , event , value ) else : ext_name = idleConf . GetExtnNameForEvent ( event ) ext_keybind_section = ext_name + '_cfgBindings' changes . add_option ( 'extensions' , ext_keybind_section , event , value )
Store change to a keybinding.
Store change to a keybinding .
"Store change to a keybinding." # Event is an extension binding.
self