pyface.tasks.traits_dock_pane module

class pyface.tasks.traits_dock_pane.TraitsDockPane[source]

Bases: pyface.ui.qt4.tasks.dock_pane.DockPane

A DockPane that displays a Traits UI View.

model = Instance(HasTraits)

The model object to view. If not specified, the pane is used instead.

ui = Instance("traitsui.ui.UI")

The UI object associated with the Traits view, if it has been constructed.


Use the model object for the Traits UI context, if appropriate.


Destroy the toolkit-specific control that represents the pane.


Create and return the toolkit-specific contents of the dock pane.