traitsui.ui_info module

Defines the UIInfo class used to represent the object and editor content of an active Traits-based user interface.

class traitsui.ui_info.UIInfo

Bases: traits.has_traits.HasPrivateTraits

Represents the object and editor content of an active Traits-based user interface

bind(name, value, id=None)

Binds a name to a value if it is not already bound.

bind_context()

Binds all of the associated context objects as traits of the object.

initialized = Bool(False)

Indicates whether the UI has finished initialization

ui = Instance("traitsui.ui.UI", allow_none=True)

Bound to a UI object at UIInfo construction time