Dispatch an event to all listening plugins.

def dispatch(self, category, func, *args):
        """Dispatch an event to all listening plugins."""
        self.factory.loader.runPlugins(category, func, self, *args)