pyface.tasks.enaml_pane module

Base class defining common code for EnamlTaskPane and EnamlEditor.

class pyface.tasks.enaml_pane.EnamlPane[source]

Bases: traits.has_traits.HasTraits

Base class defining common code for EnamlTaskPane and EnamlEditor.

component = Instance("enaml.widgets.toolkit_object.ToolkitObject")

The Enaml component defining the contents of the TaskPane.

create_component()[source]

Return an Enaml component defining the contents of the pane.

Returns

component

Return type

ToolkitObject

create(parent)[source]

Create the toolkit-specific control that represents the editor.

destroy()[source]

Destroy the toolkit-specific control that represents the editor.