pyface.workbench.action.action_controller module

The action controller for workbench menu and tool bars.

class pyface.workbench.action.action_controller.ActionController[source]

Bases: ActionController

The action controller for workbench menu and tool bars.

The controller is used to ‘hook’ the invocation of every action on the menu and tool bars. This is done so that additional (and workbench specific) information can be added to action events. Currently, we attach a reference to the workbench window.

perform(action, event)[source]

Control an action invocation.