pyface.action.window_action module

Abstract base class for all window actions.

class pyface.action.window_action.WindowAction[source]

Bases: pyface.action.listening_action.ListeningAction

Abstract base class for window actions.

window = Instance(Window)

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: pyface.action.window_action.WindowAction

Close the specified window