pyface.action.gui_application_action module¶
Abstract base class for all application actions.
- class pyface.action.gui_application_action.GUIApplicationAction[source]¶
Bases:
ListeningAction
Abstract base class for GUI Application actions.
- application = Instance("pyface.gui_application.GUIApplication")¶
The application that the action is associated with.
- class pyface.action.gui_application_action.ActiveWindowAction[source]¶
Bases:
GUIApplicationAction
Abstract base class for application active window actions.
- class pyface.action.gui_application_action.CreateWindowAction[source]¶
Bases:
GUIApplicationAction
A standard ‘New Window’ menu action.
- class pyface.action.gui_application_action.ExitAction[source]¶
Bases:
GUIApplicationAction
A standard ‘Quit’ or ‘Exit’ menu action.
- class pyface.action.gui_application_action.AboutAction[source]¶
Bases:
GUIApplicationAction
A standard ‘About’ dialog menu action.
- class pyface.action.gui_application_action.CloseActiveWindowAction[source]¶
Bases:
ActiveWindowAction
A standard ‘Close window’ menu action at the application level.
This method closes the active window of the application.