wx.lib.pydocview.DocFrameMixIn¶
Class with common code used by DocMDIParentFrame, DocTabbedParentFrame, and DocSDIFrame.
Class Hierarchy¶
Known Subclasses¶
wx.lib.pydocview.DocMDIParentFrame
, wx.lib.pydocview.DocSDIFrame
, wx.lib.pydocview.DocTabbedParentFrame
Methods Summary¶
Creates the default MenuBar. Contains File, Edit, View, Tools, and Help menus. |
|
Creates the default StatusBar. |
|
Creates the default ToolBar. |
|
Returns the document manager associated with the DocMDIParentFrame. |
|
Initializes the PrintData that is used when printing. |
|
Invokes the about dialog. |
|
Saves all of the currently open documents. |
|
Updates the View StatusBar menu item. |
|
Updates the View ToolBar menu item. |
|
Toggles whether the StatusBar is visible. |
|
Toggles whether the ToolBar is visible. |
|
Updates the StatusBar. |
Class API¶
- class DocFrameMixIn¶
Class with common code used by DocMDIParentFrame, DocTabbedParentFrame, and DocSDIFrame.
Methods¶
- 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.