(self, virtualEvent)
return extName
Return the name of the extension binding virtualEvent, or None.

        virtualEvent - string, name of the virtual event to test for,
                       without the enclosing '<< >>'
Return the name of the extension binding virtualEvent, or None.
Return the name of the extension binding virtualEvent or None .
def GetExtnNameForEvent(self, virtualEvent):
        """Return the name of the extension binding virtualEvent, or None.

        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):
                if event == vEvent:
                    extName = extn  # TODO return here?
        return extName
def GetExtnNameForEvent ( self , virtualEvent ) : extName = None vEvent = '<<' + virtualEvent + '>>' for extn in self . GetExtensions ( active_only = 0 ) : for event in self . GetExtensionKeys ( extn ) : if event == vEvent : extName = extn # TODO return here? return extName