Inherits from
- TraitType: enthought.traits.trait_handlers.TraitType
Attributes
- default_value
The default value for the trait:
default_value = None
- info_text
A description of the type of value this trait accepts:
info_text = 'a callable value'
- metadata
The standard metadata for the trait:
metadata = { Const('copy') : Const('ref') }
Inherited from base classes
Method summary
- validate(self, object, name, value)
Inherited from base classes
- arg_error(self, method, arg_num, object, name, value)
- create_editor(self)
- dup_arg_error(self, method, arg_num, object, name)
- error(self, object, name, value)
- full_info(self, object, name, value)
- get_editor(self, trait = None)
- info(self)
- inner_traits(self)
- is_valid(self, object, name, value)
- keyword_error(self, method, object, name, value)
- missing_arg_error(self, method, arg_num, object, name)
- repr(self, value)
- return_error(self, method, object, value)
Methods
- validate(self, object, name, value)
Validates that the value is a Python callable.