API Reference for Enthought Tool Suite 3.2.0

Defines the 'core' traits for the Traits package. A trait is a type definition that can be used for normal Python object attributes, giving the attributes some additional characteristics:

Initialization:
Traits have predefined values that do not need to be explicitly initialized in the class constructor or elsewhere.
Validation:
Trait attributes have flexible, type-checked values.
Delegation:
Trait attributes' values can be delegated to other objects.
Notification:
Trait attributes can automatically notify interested parties when their values change.
Visualization:
Trait attributes can automatically construct (automatic or programmer-defined) user interfaces that allow their values to be edited or displayed)

Note: 'trait' is a synonym for 'property', but is used instead of the word 'property' to differentiate it from the Python language 'property' feature.

Variables

Classes

Function summary

Functions

Imported Names

Local nameRefers to
add_articleenthought.traits.trait_base.add_article
class_ofenthought.traits.trait_base.class_of
ClassTypetypes.ClassType
ComplexTypetypes.ComplexType
cTraitctraits.cTrait
CTraitMethodctraits.CTraitMethod
ctraitsctraits
DictTypetypes.DictType
FloatTypetypes.FloatType
FunctionTypetypes.FunctionType
InstanceTypetypes.InstanceType
interfacesenthought.traits.protocols.interfaces
IntTypetypes.IntType
ListTypetypes.ListType
LongTypetypes.LongType
MethodTypetypes.MethodType
Missingenthought.traits.trait_base.Missing
NoneTypetypes.NoneType
Selfenthought.traits.trait_base.Self
SequenceTypesenthought.traits.trait_base.SequenceTypes
StringTypetypes.StringType
syssys
ThisClassenthought.traits.trait_handlers.ThisClass
trait_handlersenthought.traits.trait_handlers
TraitCastTypeenthought.traits.trait_handlers.TraitCastType
TraitCoerceTypeenthought.traits.trait_handlers.TraitCoerceType
TraitCompoundenthought.traits.trait_handlers.TraitCompound
TraitEnumenthought.traits.trait_handlers.TraitEnum
TraitErrorenthought.traits.trait_errors.TraitError
TraitFunctionenthought.traits.trait_handlers.TraitFunction
TraitHandlerenthought.traits.trait_handlers.TraitHandler
TraitInstanceenthought.traits.trait_handlers.TraitInstance
TraitMapenthought.traits.trait_handlers.TraitMap
TraitStringenthought.traits.trait_handlers.TraitString
TraitTypeenthought.traits.trait_handlers.TraitType
TupleTypetypes.TupleType
TypeTypetypes.TypeType
TypeTypesenthought.traits.trait_base.TypeTypes
Undefinedenthought.traits.trait_base.Undefined
UnicodeTypetypes.UnicodeType

© Copyright 2002-2009 Enthought, Inc.