At a minimum this class expects to be provided with a factory that returns
pyface.i_window.IWindow instances. For pure Pyface applications
this is most likely to be a subclass of
The default window factory returns an application window.
This is almost never the right thing, but allows users to get off the ground with the base class.
A basic Pyface GUI application.
The splash screen for the application. No splash screen by default
The about dialog for the application.
Icon for the application (used in window titlebars)
Logo of the application (used in splash screens and about dialogs)
The window factory to use when creating a window for the application.
window_size= Tuple((800, 600))¶
Default window size
Currently active Window if any
List of all open windows in the application
The Pyface GUI instance for the application
Create a new application window.
By default uses the
window_factoryto do this. Subclasses can override if they want to do something different or additional.
Add a new window to the windows we are tracking.
Display the about dialog, if it exists.
Start the application, setting up things that are required
Subclasses should open at least one ApplicationWindow or subclass in their start method, and should call the superclass start() method before doing any work themselves.