parameters: (self, accelerator)
docstring: Sets the shortcut string for which the operation was performed for ``EVT_SHORTCUT_CHANGED``
          and ``EVT_SHORTCUT_CHANGING`` events.
  
          :param string `accelerator`: a string representing the new shortcut string (accelerator).
docstring_summary: Sets the shortcut string for which the operation was performed for ``EVT_SHORTCUT_CHANGED``
          and ``EVT_SHORTCUT_CHANGING`` events.
docstring_tokens: Sets the shortcut string for which the operation was performed for EVT_SHORTCUT_CHANGED and EVT_SHORTCUT_CHANGING events .
function: def SetAccelerator(self, accelerator):
          """
          Sets the shortcut string for which the operation was performed for ``EVT_SHORTCUT_CHANGED``
          and ``EVT_SHORTCUT_CHANGING`` events.
  
          :param string `accelerator`: a string representing the new shortcut string (accelerator).
          """
  
          self.accelerator = accelerator
function_tokens: def SetAccelerator ( self , accelerator ) : self . accelerator = accelerator