API Reference for Enthought Tool Suite 2.7.1

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
get_module_nameenthought.traits.trait_base.get_module_name
InstanceTypetypes.InstanceType
IntTypetypes.IntType
ListTypetypes.ListType
LongTypetypes.LongType
MethodTypetypes.MethodType
Missingenthought.traits.trait_base.Missing
ModuleTypetypes.ModuleType
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
TraitCallableenthought.traits.trait_handlers.TraitCallable
TraitCastTypeenthought.traits.trait_handlers.TraitCastType
TraitCompoundenthought.traits.trait_handlers.TraitCompound
TraitDictenthought.traits.trait_handlers.TraitDict
TraitEnumenthought.traits.trait_handlers.TraitEnum
TraitErrorenthought.traits.trait_errors.TraitError
TraitExpressionenthought.traits.trait_handlers.TraitExpression
TraitFunctionenthought.traits.trait_handlers.TraitFunction
TraitHandlerenthought.traits.trait_handlers.TraitHandler
TraitInstanceenthought.traits.trait_handlers.TraitInstance
TraitListenthought.traits.trait_handlers.TraitList
TraitMapenthought.traits.trait_handlers.TraitMap
TraitRangeenthought.traits.trait_handlers.TraitRange
TraitStringenthought.traits.trait_handlers.TraitString
TraitTupleenthought.traits.trait_handlers.TraitTuple
TraitTypeenthought.traits.trait_handlers.TraitType
TraitWeakRefenthought.traits.trait_handlers.TraitWeakRef
TupleTypetypes.TupleType
TypeTypetypes.TypeType
TypeTypesenthought.traits.trait_base.TypeTypes
Undefinedenthought.traits.trait_base.Undefined
UnicodeTypetypes.UnicodeType

Copyright © 2002-2008 Enthought, Inc.