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[source]

Bases: HasPrivateTraits

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

bind(name, value, id=None)[source]

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

bind_context()[source]

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