pyface.workbench.i_perspective module

The perspective interface.

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

Bases: Interface

The perspective interface.

create(window)[source]

Create the perspective in a workbench window.

show(window)[source]

Called when the perspective is shown in a workbench window.