bundles / traitlets 5.14.3 / traitlets / traitlets / HasTraits / trait_events
classmethod
traitlets.traitlets:HasTraits.trait_events
source: /traitlets/traitlets.py :1969
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
Nonethen 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