- class dip.ui.MainWindow¶
Base class: SingleSubviewContainerFactory
The MainWindow class implements a main window factory, i.e. it creates views that implement the IMainWindow interface.
- docks = List(Dock)
- The list of dock factories.
- id = 'dip.main_window'
- The identifier of each widget created by the factory.
- menu_bar = Instance(MenuBar)
- The factory for the menu bar.
- toolkit_factory = 'main_window'
- The name of the toolkit factory method.
- create_subviews(model, controller, view)¶
Create the sub-views for a containing view.
- model – is the model.
- controller – is the controller.
- view – is the containing view.
Reimplemented to finalize any menu bar and docks.
Parameter: view – is the view created by this factory.