API Reference for Enthought Tool Suite 3.2.0
Defines the Boolean editor factory for all traits toolkit backends.
Define the BooleanEditor class
BooleanEditor = ToolkitEditorFactory
Mapping from user input text to Boolean values
mapping_trait = Dict(Str, Any, { Const('True') : Name('True'), Const('true') : Name('True'), Const('t') : Name('True'), Const('yes') : Name('True'), Const('y') : Name('True'), Const('False') : Name('False'), Const('false') : Name('False'), Const('f') : Name('False'), Const('no') : Name('False'), Const('n') : Name('False') })
| Local name | Refers to |
|---|---|
| Any | enthought.traits.trait_types.Any |
| Dict | enthought.traits.trait_types.Dict |
| EditorFactory | enthought.traits.ui.editors.text_editor.ToolkitEditorFactory |
| Str | enthought.traits.trait_types.Str |
| View | enthought.traits.ui.view.View |
© Copyright 2002-2009 Enthought, Inc.