pyface.workbench.i_editor module

The interface of a workbench editor.

class pyface.workbench.i_editor.IEditor(adaptee, default=<class 'traits.adaptation.adaptation_error.AdaptationError'>)[source]

Bases: IWorkbenchPart

The interface of a workbench editor.

close()[source]

Close the editor.

This method is not currently called by the framework itself as the user is normally in control of the editor lifecycle. Call this if you want to control the editor lifecycle programmatically.

class pyface.workbench.i_editor.MEditor[source]

Bases: MWorkbenchPart

Mixin containing common code for toolkit-specific implementations.

close()[source]

Close the editor.