pyface.tasks.traits_task_pane module

class pyface.tasks.traits_task_pane.TraitsTaskPane[source]

Bases: TaskPane

A TaskPane 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.

trait_context()[source]

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

create(parent)[source]

Create and set the toolkit-specific control that represents the pane.

destroy()[source]

Destroy the toolkit-specific control that represents the pane.