Debian Codegraph @

docs/source/traits_api_reference/has_traits.rst

raw
1 :mod:`traits.has_traits` Module
2 ===============================
3
4 .. automodule:: traits.has_traits
5 :no-members:
6
7 Classes
8 -------
9
10 .. autoclass:: MetaHasTraits
11
12 .. autoclass:: MetaInterface
13
14 .. automethod:: __init__
15
16 .. automethod:: __call__
17
18 .. autoclass:: HasTraits
19 :exclude-members: wrappers
20
21 .. attribute:: wrappers
22 :annotation: =
23
24 | {'same': TraitChangeNotifyWrapper,
25 | 'extended': ExtendedTraitChangeNotifyWrapper,
26 | 'new': NewTraitChangeNotifyWrapper,
27 | 'fast_ui': FastUITraitChangeNotifyWrapper,
28 | 'ui': FastUITraitChangeNotifyWrapper}
29
30 Mapping from dispatch type to notification wrapper class type
31
32 .. autoclass:: HasStrictTraits
33
34 .. autoclass:: HasRequiredTraits
35
36 .. autoclass:: HasPrivateTraits
37
38 .. autoclass:: Vetoable
39
40 .. autoclass:: Interface
41
42 .. autoclass:: ISerializable
43
44 ABC classes
45 -----------
46
47 .. note:: These classes are only available when the abc module is present.
48
49 .. autoclass:: ABCMetaHasTraits
50
51 .. autoclass:: ABCHasTraits
52
53 .. autoclass:: ABCHasStrictTraits
54
55 Functions
56 ---------
57
58 .. autofunction:: cached_property
59
60 .. autofunction:: get_delegate_pattern
61
62 .. autofunction:: observe
63
64 .. autofunction:: on_trait_change
65
66 .. autofunction:: property_depends_on
67
68 .. autofunction:: provides
69
70 .. autofunction:: weak_arg
71
72 Deprecated Classes
73 ------------------
74
75 The following :class:`~.HasTraits` subclasses are deprecated,
76 and may be removed in a future version of Traits.
77
78 .. autoclass:: SingletonHasTraits
79
80 .. autoclass:: SingletonHasStrictTraits
81
82 .. autoclass:: SingletonHasPrivateTraits
83