API Reference for Enthought Tool Suite 3.0.1
Dictionary of all used quantity editors:
quantity_editors = { }
Returns a trait definition for a Quantity whose default value is 'default_value' (a float). The quantity's units are specified by 'units' (a units object), and the family name of the units (e.g. density) is specified by 'family_name' (a string). If display_units is given, it is used for the display of the Quantity, otherwise the default units for the given family_name is used.
| Local name | Refers to |
|---|---|
| Dict | enthought.traits.trait_types.Dict |
| Editor | enthought.traits.ui.wx.editor.Editor |
| EditorFactory | enthought.traits.ui.wx.editor_factory.EditorFactory |
| ErrorColor | enthought.traits.ui.wx.constants.ErrorColor |
| false | enthought.traits.trait_types.false |
| HasTraits | enthought.traits.has_traits.HasTraits |
| Instance | enthought.traits.trait_types.Instance |
| List | enthought.traits.trait_types.List |
| OKColor | enthought.traits.ui.wx.constants.OKColor |
| ParameterChoiceEditorFactory | enthought.util.traits.editor.parameter_choice_editor.ParameterChoiceEditorFactory |
| Quantity | enthought.units.quantity.Quantity |
| ReadonlyColor | enthought.traits.ui.wx.constants.ReadonlyColor |
| Str | enthought.traits.trait_types.Str |
| Trait | enthought.traits.traits.Trait |
| TraitError | enthought.traits.trait_errors.TraitError |
| TraitHandler | enthought.traits.trait_handlers.TraitHandler |
| true | enthought.traits.trait_types.true |
| unit | enthought.units.unit.unit |
| unit_manager | enthought.units.unit_manager.unit_manager |
| wx | wx |
© Copyright 2002-2008 Enthought, Inc.