Package wx :: Package lib :: Module docview :: Class DocChildFrame
[frames | no frames]

Type DocChildFrame

object --+                    
         |                    
    Object --+                
             |                
    EvtHandler --+            
                 |            
            Window --+        
                     |        
        TopLevelWindow --+    
                         |    
                     Frame --+
                             |
                            DocChildFrame

Known Subclasses:
DocSDIFrame

The wxDocChildFrame class provides a default frame for displaying documents on separate windows. This class can only be used for SDI (not MDI) child frames.

The class is part of the document/view framework supported by wxWindows, and cooperates with the wxView, wxDocument, wxDocManager and wxDocTemplate classes.


Method Summary
  __init__(self, doc, view, frame, id, title, pos, size, style, name)
Constructor.
  GetDocument(self)
Returns the document associated with this frame.
  GetView(self)
Returns the view associated with this frame.
  OnActivate(self, event)
Activates the current view.
  OnCloseWindow(self, event)
Closes and deletes the current view and document.
  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).
  SetDocument(self, document)
Sets the document for this frame.
  SetView(self, view)
Sets the view for this frame.

Property Summary

Instance Method Details

__init__(self, doc, view, frame, id, title, pos=wx.Point(-1, -1), size=wx.Size(-1, -1), style=541072960, name='frame')
(Constructor)

Constructor. Note that the event table must be rebuilt for the frame since the EvtHandler is not virtual.

Overrides:
wx.Frame.__init__

GetDocument(self)

Returns the document associated with this frame.

GetView(self)

Returns the view associated with this frame.

OnActivate(self, event)

Activates the current view.

OnCloseWindow(self, event)

Closes and deletes the current view and document.

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

SetDocument(self, document)

Sets the document for this frame.

SetView(self, view)

Sets the view for this frame.


Generated by Epydoc 2.1.20050511.rpd on Thu Mar 22 12:11:19 2007 http://epydoc.sf.net