Inherits from
- HasMargin: enthought.traits.ui.ui_traits.HasMargin
Attributes
- default_value
Define the default value for the trait:
default_value = Border(0)
- info_text
A description of the type of value this trait accepts:
info_text = 'a Border instance, or an integer in the range from 0 to 32 or a tuple with 1, 2 or 4 integers in that range that can be used to define one'
- klass
The desired value class:
klass = Border
Inherited from base classes
Method summary
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_default_value(self)
- 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)
- validate(self, object, name, value)