*************** wx.PreviewFrame *************** Inheritance diagram for `wx.PreviewFrame`: | .. inheritance-diagram:: wx.PreviewFrame | Description =========== This class provides the default method of managing the print preview interface. Member functions may be overridden to replace functionality, or the class may be used without derivation. .. seealso:: `wx.PreviewCanvas `_, `wx.PreviewControlBar `_, `wx.PrintPreview `_ Derived From ^^^^^^^^^^^^^ * `wx.Frame `_ * `wx.Window `_ * `wx.EvtHandler `_ * `wx.Object `_ Known Subclasses ^^^^^^^^^^^^^^^^ `wx.PyPreviewFrame `_ Methods Summary ^^^^^^^^^^^^^^^ * `__init__ <#__init__>`_ * `CreateCanvas <#CreateCanvas>`_ * `CreateControlBar <#CreateControlBar>`_ * `GetControlBar <#GetControlBar>`_ * `Initialize <#Initialize>`_ Properties Summary ^^^^^^^^^^^^^^^^^^ * `ControlBar <#ControlBar>`_ Class API ========= Methods ^^^^^^^ .. method:: __init__(preview, parent, title, pos=wx.DefaultPosition, size=wx.DefaultSize, style=wx.DEFAULT_FRAME_STYLE, name=wx.FrameNameStr) Constructor. Pass a print preview object plus other normal frame arguments. The print preview object will be destroyed by the frame when it closes **Parameters:** * `preview` (`wx.PrintPreview `_) * `parent` (`wx.Frame `_) * `title` (string) * `pos` (`wx.Point `_) * `size` (`wx.Size `_) * `style` (long) * `name` (string) | **Returns:** `wx.PreviewFrame `_ -------- .. method:: CreateCanvas() Creates a `wx.PreviewCanvas `_. Override this function to allow a user-defined preview canvas object to be created. -------- .. method:: CreateControlBar() Creates a `wx.PreviewControlBar `_. Override this function to allow a user-defined preview control bar object to be created. -------- .. method:: GetControlBar() `No docstrings available for this method.` -------- .. method:: Initialize() Creates the preview canvas and control bar, and calls `wx.Window.MakeModal `_ (``True``) to disable other top-level windows in the application. This function should be called by the application prior to showing the frame. -------- Properties ^^^^^^^^^^ .. attribute:: ControlBar See `GetControlBar <#GetControlBar>`_