The wxDocMDIChildFrame class provides a default frame for displaying documents on separate windows. This class can only be used for 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.
__init__ |
Constructor. Note that the event table must be rebuilt for the |
Activate |
Activates the current view. |
Destroy |
Removes the current notebook page. |
GetDocument |
Returns the document associated with this frame. |
GetIcon |
Dummy method since the icon of tabbed frames are managed by the notebook. |
GetTitle |
Returns the frame’s title. |
GetView |
Returns the view associated with this frame. |
OnTitleIsModified |
Add/remove to the frame’s title an indication that the document is dirty. |
ProcessEvent |
Processes an event, searching event tables and calling zero or more |
SetDocument |
Sets the document for this frame. |
SetFocus |
Activates the current notebook page. |
SetIcon |
Dummy method since the icon of tabbed frames are managed by the notebook. |
SetTitle |
Sets the frame’s title. |
SetView |
Sets the view for this frame. |
DocTabbedChildFrame
(wx.Panel)¶The wxDocMDIChildFrame class provides a default frame for displaying documents on separate windows. This class can only be used for 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.
__init__
(self, doc, view, frame, id, title, pos=wx.DefaultPosition, size=wx.DefaultSize, style=wx.DEFAULT_FRAME_STYLE, name="frame")¶Constructor. Note that the event table must be rebuilt for the frame since the EvtHandler is not virtual.
Activate
(self)¶Activates the current view.
Destroy
(self)¶Removes the current notebook page.
GetDocument
(self)¶Returns the document associated with this frame.
GetIcon
(self)¶Dummy method since the icon of tabbed frames are managed by the notebook.
GetTitle
(self)¶Returns the frame’s title.
GetView
(self)¶Returns the view associated with this frame.
OnTitleIsModified
(self)¶Add/remove to the frame’s title an indication that the document is dirty. If the document is dirty, an ‘*’ is appended to the title
ProcessEvent
(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.
SetDocument
(self, document)¶Sets the document for this frame.
SetFocus
(self)¶Activates the current notebook page.
SetIcon
(self, icon)¶Dummy method since the icon of tabbed frames are managed by the notebook.
SetTitle
(self, title)¶Sets the frame’s title.
SetView
(self, view)¶Sets the view for this frame.