Class with common code used by DocMDIParentFrame, DocTabbedParentFrame, and DocSDIFrame.
CreateDefaultMenuBar |
Creates the default MenuBar. Contains File, Edit, View, Tools, and Help menus. |
CreateDefaultStatusBar |
Creates the default StatusBar. |
CreateDefaultToolBar |
Creates the default ToolBar. |
GetDocumentManager |
Returns the document manager associated with the DocMDIParentFrame. |
InitializePrintData |
Initializes the PrintData that is used when printing. |
OnAbout |
Invokes the about dialog. |
OnFileSaveAll |
Saves all of the currently open documents. |
OnUpdateViewStatusBar |
Updates the View StatusBar menu item. |
OnUpdateViewToolBar |
Updates the View ToolBar menu item. |
OnViewStatusBar |
Toggles whether the StatusBar is visible. |
OnViewToolBar |
Toggles whether the ToolBar is visible. |
UpdateStatus |
Updates the StatusBar. |
DocFrameMixIn
¶Class with common code used by DocMDIParentFrame, DocTabbedParentFrame, and DocSDIFrame.
CreateDefaultMenuBar
(self, sdi=False)¶Creates the default MenuBar. Contains File, Edit, View, Tools, and Help menus.
CreateDefaultStatusBar
(self)¶Creates the default StatusBar.
CreateDefaultToolBar
(self)¶Creates the default ToolBar.
GetDocumentManager
(self)¶Returns the document manager associated with the DocMDIParentFrame.
InitializePrintData
(self)¶Initializes the PrintData that is used when printing.
OnAbout
(self, event)¶Invokes the about dialog.
OnFileSaveAll
(self, event)¶Saves all of the currently open documents.
OnUpdateViewStatusBar
(self, event)¶Updates the View StatusBar menu item.
OnUpdateViewToolBar
(self, event)¶Updates the View ToolBar menu item.
OnViewStatusBar
(self, event)¶Toggles whether the StatusBar is visible.
OnViewToolBar
(self, event)¶Toggles whether the ToolBar is visible.
UpdateStatus
(self, message = _("Ready"))¶Updates the StatusBar.