wx.lib.pydocview.DocMDIParentFrameMixIn¶

Class with common code used by DocMDIParentFrame and DocTabbedParentFrame.

Class Hierarchy¶

Inheritance diagram for class DocMDIParentFrameMixIn:

Methods Summary¶

 CreateEmbeddedWindows Create the specified embedded windows around the edges of the frame. GetEmbeddedWindow Returns the instance of the embedded window specified by the embedded window location constant. HideEmbeddedWindow Hides the embedded window specified by the embedded window location constant. ProcessEvent Processes an event, searching event tables and calling zero or more ProcessUpdateUIEvent Processes a UI event, searching event tables and calling zero or more SaveEmbeddedWindowSizes Saves the sizes of the embedded windows. ShowEmbeddedWindow Shows or hides the embedded window specified by the embedded window location constant.

Class API¶

class DocMDIParentFrameMixIn

Class with common code used by DocMDIParentFrame and DocTabbedParentFrame.

Methods¶

CreateEmbeddedWindows(self, windows=0, minSize=20)

Create the specified embedded windows around the edges of the frame.

GetEmbeddedWindow(self, loc)

Returns the instance of the embedded window specified by the embedded window location constant.

HideEmbeddedWindow(self, window)

Hides the embedded window specified by the embedded window location constant.

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.

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.

SaveEmbeddedWindowSizes(self)

Saves the sizes of the embedded windows.

ShowEmbeddedWindow(self, window, show=True)

Shows or hides the embedded window specified by the embedded window location constant.