.. include:: headings.inc .. currentmodule:: lib.pydocview .. highlight:: python .. _lib.pydocview.DocSDIFrame: ========================================================================================================================================== |phoenix_title| **DocSDIFrame** ========================================================================================================================================== The DocSDIFrame host DocManager Document windows. It offers features such as a default menubar, toolbar, and status bar. | |class_hierarchy| Inheritance Diagram ===================================== Inheritance diagram for class **DocSDIFrame** .. raw:: html

Inheritance diagram of DocSDIFrame

| |super_classes| Known Superclasses ================================== :class:`lib.docview.DocChildFrame`, :class:`lib.pydocview.DocFrameMixIn` | |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~lib.pydocview.DocSDIFrame.__init__` Initializes the DocSDIFrame with the default menubar, toolbar, and status bar. :meth:`~lib.pydocview.DocSDIFrame.OnCloseWindow` Called when the window is saved. Enables services to help close the frame. :meth:`~lib.pydocview.DocSDIFrame.OnExit` Called when the application is exitting. :meth:`~lib.pydocview.DocSDIFrame.OnMRUFile` Opens the appropriate file when it is selected from the file history :meth:`~lib.pydocview.DocSDIFrame.ProcessEvent` Processes an event, searching event tables and calling zero or more :meth:`~lib.pydocview.DocSDIFrame.ProcessUpdateUIEvent` Processes a UI event, searching event tables and calling zero or more ================================================================================ ================================================================================ | |api| Class API =============== .. class:: DocSDIFrame(lib.docview.DocChildFrame, DocFrameMixIn) The DocSDIFrame host DocManager Document windows. It offers features such as a default menubar, toolbar, and status bar. .. method:: __init__(self, doc, view, parent, id, title, pos=DefaultPosition, size=DefaultSize, style=DEFAULT_FRAME_STYLE, name="DocSDIFrame") Initializes the DocSDIFrame with the default menubar, toolbar, and status bar. .. method:: OnCloseWindow(self, event) Called when the window is saved. Enables services to help close the frame. .. method:: OnExit(self, event) Called when the application is exitting. .. method:: OnMRUFile(self, event) Opens the appropriate file when it is selected from the file history menu. .. method:: ProcessEvent(self, event) Processes an event, searching event tables and calling zero or more suitable event handler function(s). Note that the ProcessEvent method is called from the wxPython docview framework directly since wxPython does not have a virtual ProcessEvent function. .. method:: ProcessUpdateUIEvent(self, event) Processes a UI event, searching event tables and calling zero or more suitable event handler function(s). Note that the ProcessEvent method is called from the wxPython docview framework directly since wxPython does not have a virtual ProcessEvent function.