pyface.workbench.action.perspective_menu_manager module

The default perspective menu for a workbench window.

class pyface.workbench.action.perspective_menu_manager.PerspectiveMenuManager(*args, **traits)[source]

Bases: MenuManager

The default perspective menu for a workbench window.

rebuild(event)[source]

Rebuild the menu.

This is called when user perspectives have been added or removed.