(self, *params)
Store change to a keybinding.
Store change to a keybinding.
Store change to a keybinding .
def var_changed_keybinding(self, *params):
        "Store change to a keybinding."
        value = self.keybinding.get()
        key_set = self.custom_name.get()
        event = self.bindingslist.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)
def var_changed_keybinding ( self , * params ) : value = self . keybinding . get ( ) key_set = self . custom_name . get ( ) event = self . bindingslist . 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 )