Package wx :: Package lib :: Module pydocview :: Class DocMDIParentFrame

[frames | no frames]

## Type DocMDIParentFrame

                         DocFrameMixIn --+
                                         |
    object --+                           |
             |                           |
        Object --+                       |
                 |                       |
        EvtHandler --+                   |
                     |                   |
                Window --+               |
                         |               |
            TopLevelWindow --+           |
                             |           |
                         Frame --+       |
                                 |       |
                    MDIParentFrame --+   |
                                     |   |
                     DocMDIParentFrame --+
                                         |
                DocMDIParentFrameMixIn --+
                                         |
                                        DocMDIParentFrame

The DocMDIParentFrame is the primary frame which the DocApp uses to host MDI child windows. It offers features such as a default menubar, toolbar, and status bar, and a mechanism to manage embedded windows on the edges of the DocMDIParentFrame.

Method Summary
| ``__init__`(self, docManager, parent, id, title, pos, size, style, name, embeddedWindows, minSize)` Initializes the DocMDIParentFrame with the default menubar, toolbar, and status bar.
| ``OnCloseWindow`(self, event)` Called when the DocMDIParentFrame is closed.
| ``OnSize`(self, event)` Called when the DocMDIParentFrame is resized and lays out the MDI client window.
| ``ProcessEvent`(self, event)` Processes an event, searching event tables and calling zero or more suitable event handler function(s).
| ``ProcessUpdateUIEvent`(self, event)` Processes a UI event, searching event tables and calling zero or more suitable event handler function(s).
| ``UpdateWindowMenu`(self)` Updates the WindowMenu on Windows platforms.

Property Summary

Instance Method Details

### __init__(self, docManager, parent, id, title, pos=wx.Point(-1, -1), size=wx.Size(-1, -1), style=541072960, name='DocMDIFrame', embeddedWindows=0, minSize=20)
(Constructor)

Initializes the DocMDIParentFrame with the default menubar, toolbar, and status bar. Use the optional embeddedWindows parameter with the embedded window constants to create embedded windows around the edges of the DocMDIParentFrame.

  Overrides:
    `wx.lib.docview.DocMDIParentFrame.__init__`

### OnCloseWindow(self, event)

Called when the DocMDIParentFrame is closed. Remembers the frame size.

  Overrides:
    `wx.lib.docview.DocMDIParentFrame.OnCloseWindow`

### OnSize(self, event)

Called when the DocMDIParentFrame is resized and lays out the MDI client window.

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

  Overrides:
    `wx.lib.docview.DocMDIParentFrame.ProcessEvent`

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

  Overrides:
    `wx.lib.docview.DocMDIParentFrame.ProcessUpdateUIEvent`

### UpdateWindowMenu(self)

Updates the WindowMenu on Windows platforms.

Generated by Epydoc 2.1.20050511.rpd on Thu Mar 22 12:08:33 2007 | http://epydoc.sf.net