parameters: (self)
docstring: Remove the keybindings before they are changed.
docstring_summary: Remove the keybindings before they are changed.
docstring_tokens: Remove the keybindings before they are changed .
function: def RemoveKeybindings(self):
          "Remove the keybindings before they are changed."
          # Called from configdialog.py
          self.mainmenu.default_keydefs = keydefs = idleConf.GetCurrentKeySet()
          for event, keylist in keydefs.items():
              self.text.event_delete(event, *keylist)
          for extensionName in self.get_standard_extension_names():
              xkeydefs = idleConf.GetExtensionBindings(extensionName)
              if xkeydefs:
                  for event, keylist in xkeydefs.items():
                      self.text.event_delete(event, *keylist)
function_tokens: def RemoveKeybindings ( self ) : # Called from configdialog.py self . mainmenu . default_keydefs = keydefs = idleConf . GetCurrentKeySet ( ) for event , keylist in keydefs . items ( ) : self . text . event_delete ( event , * keylist ) for extensionName in self . get_standard_extension_names ( ) : xkeydefs = idleConf . GetExtensionBindings ( extensionName ) if xkeydefs : for event , keylist in xkeydefs . items ( ) : self . text . event_delete ( event , * keylist )