phoenix_title wx.lib.pydocview.DocFrameMixIn

Class with common code used by DocMDIParentFrame, DocTabbedParentFrame, and DocSDIFrame.


class_hierarchy Class Hierarchy

Inheritance diagram for class DocFrameMixIn:

method_summary Methods Summary

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.


api 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.