parameters: (self,virtualEvent)
return_statement: return extName
docstring: Returns the name of the extension that virtualEvent is bound in, or
          None if not bound in any extension.
          virtualEvent - string, name of the virtual event to test for, without
                         the enclosing '<< >>'
docstring_summary: Returns the name of the extension that virtualEvent is bound in, or
          None if not bound in any extension.
          virtualEvent - string, name of the virtual event to test for, without
                         the enclosing '<< >>'
docstring_tokens: Returns the name of the extension that virtualEvent is bound in or None if not bound in any extension . virtualEvent - string name of the virtual event to test for without the enclosing << >>
function: def GetExtnNameForEvent(self,virtualEvent):
          """
          Returns the name of the extension that virtualEvent is bound in, or
          None if not bound in any extension.
          virtualEvent - string, name of the virtual event to test for, without
                         the enclosing '<< >>'
          """
          extName=None
          vEvent='<<'+virtualEvent+'>>'
          for extn in self.GetExtensions(active_only=0):
              for event in self.GetExtensionKeys(extn).keys():
                  if event == vEvent:
                      extName=extn
          return extName
function_tokens: def GetExtnNameForEvent ( self , virtualEvent ) : extName = None vEvent = '<<' + virtualEvent + '>>' for extn in self . GetExtensions ( active_only = 0 ) : for event in self . GetExtensionKeys ( extn ) . keys ( ) : if event == vEvent : extName = extn return extName