enthought/traits

Export TraitChangeEvent in traits.api

Opened this issue · 1 comments

For those wanting to add type hints to code using Traits, the types of events received by observe handlers should be accessible through traits.api.

Possibly we should be exposing this through traits.observation.api as well (or instead).

DictChangeEvent, ListChangeEvent and SetChangeEvent should also be exported.