pyface.tasks.i_advanced_editor_area_pane module

class pyface.tasks.i_advanced_editor_area_pane.IAdvancedEditorAreaPane(adaptee, default=<class 'traits.adaptation.adaptation_error.AdaptationError'>)[source]

Bases: pyface.tasks.i_editor_area_pane.IEditorAreaPane

A splitable central pane that contains tabbed editors.


Returns a LayoutItem that reflects the current state of the editors.

Because editors do not have IDs, they are identified by their index in the list of editors. For example, PaneItem(0) refers to the first editor.

If there are no open editors, returns None.


Applies a LayoutItem to the editors in the pane.

The layout should have panes with IDs as described in get_layout(). For example, if one wanted to open two editors side by side, with the first to the left of the right, something like this would appropriate:


Editors that are not included in the layout will be tabbified with other editors in an undefined manner.

If the layout is None, this method is a no-op. Hence it is always safe to call this method with the results of get_layout().