API Reference for Enthought Tool Suite 3.0.1
tdb_editor = TreeEditor(editable = False, on_select = select_trait, nodes = [ TreeNode(node_for = [ TDBView ], children = 'items', copy = False, delete = False, rename = False, label = '=Traits DB', icon_group = '<group>', icon_open = '<open>'), TreeNode(node_for = [ TVPackages ], auto_open = True, children = 'packages', copy = False, delete = False, rename = False, label = '=Packages', icon_group = '<group>', icon_open = '<open>'), TreeNode(node_for = [ TVPackage ], auto_close = True, children = 'items', copy = False, delete = False, rename = False, label = 'name', icon_group = '<group>', icon_open = '<open>'), TreeNode(node_for = [ TVCategories ], auto_open = True, children = 'categories', copy = False, delete = False, rename = False, label = '=Categories', icon_group = '<group>', icon_open = '<open>'), TreeNode(node_for = [ TVCategory ], auto_close = True, children = 'traits', copy = False, delete = False, rename = False, label = 'category', icon_group = '<group>', icon_open = '<open>'), TreeNode(node_for = [ TVTrait ], label = 'name', icon_item = '<item>') ])
the_tdb = TDB()
Handles a trait (or other object) being selected.
| Local name | Refers to |
|---|---|
| CTrait | enthought.traits.traits.CTrait |
| HasStrictTraits | enthought.traits.has_traits.HasStrictTraits |
| HasTraits | enthought.traits.has_traits.HasTraits |
| Instance | enthought.traits.trait_types.Instance |
| Item | enthought.traits.ui.item.Item |
| List | enthought.traits.trait_types.List |
| Str | enthought.traits.trait_types.Str |
| TreeEditor | enthought.traits.ui.editors.TreeEditor |
| TreeNode | enthought.traits.ui.tree_node.TreeNode |
| View | enthought.traits.ui.view.View |
© Copyright 2002-2008 Enthought, Inc.