API Reference for Enthought Tool Suite 3.2.0

Adds a 'connect' feature to DockWindow which allows users to dynamically connect (i.e. synchronize) traits on one object with another. To make an object 'connectable' the developer must specify the 'connect' metadata on any trait that can be connected to another object's trait. The value of the 'connect' metadata should be: 'to|from|both[:[:]description]', indicating the direction of synchronization supported (i.e. to, from or both), as well as an optional description to display in the feature's tooltip. If a double colon (i.e. ::) precedes the description, then the description is also used as a type, meaning that both ends of the connection must specify the same type information. This is useful when using simple trait types list Str or File, and you want to add an additional level of type checking to the connection.

Variables

Classes

Function summary

Functions

Imported Names

Local nameRefers to
Actionenthought.traits.ui.menu.Action
Anyenthought.traits.trait_types.Any
Dictenthought.traits.trait_types.Dict
DockWindowFeatureenthought.pyface.dock.dock_window_feature.DockWindowFeature
Enumenthought.traits.trait_types.Enum
get_pickleenthought.developer.helper.pickle.get_pickle
HasPrivateTraitsenthought.traits.has_traits.HasPrivateTraits
HasTraitsenthought.traits.has_traits.HasTraits
ImageResourceenthought.pyface.image_resource.ImageResource
Instanceenthought.traits.trait_types.Instance
Listenthought.traits.trait_types.List
set_pickleenthought.developer.helper.pickle.set_pickle
Strenthought.traits.trait_types.Str

© Copyright 2002-2009 Enthought, Inc.