{ } Raw JSON

bundles / traitlets 5.15.0 / traitlets / traitlets / HasTraits / trait_events

classmethod

traitlets.traitlets:HasTraits.trait_events

source: /traitlets/traitlets.py :1977

Summary

Get a dict of all the event handlers of this class.

Parameters

name : str (default: None)

The name of a trait of this class. If name is None then all the event handlers of this class will be returned instead.

Returns

: The event handlers associated with a trait name, or all event handlers.

Aliases

  • traitlets.HasTraits.trait_events