pyface.action.window_action module

Abstract base class for all window actions.

class pyface.action.window_action.WindowAction[source]

Bases: ListeningAction

Abstract base class for window actions.

window = Instance(IWindow)

The window that the action is associated with.

destroy()[source]

Called when the action is no longer required.

Removes all the task listeners.

class pyface.action.window_action.CloseWindowAction[source]

Bases: WindowAction

Close the specified window