{ } Raw JSON

bundles / IPython 9.17.0 / IPython / core / events / EventManager / trigger

function

IPython.core.events:EventManager.trigger

source: /dev/ipython/IPython/core/events.py:93

Signature

def trigger(self, event: str, *args: Any, **kwargs: Any) → None

Summary

Call callbacks for event.

Extended Summary

Any additional arguments are passed to all callbacks registered for this event. Exceptions raised by callbacks are caught, and a message printed.

Aliases

  • IPython.core.events.EventManager.trigger