wx.PreviewFrame

Inheritance diagram for 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.

Known Subclasses

wx.PyPreviewFrame

Properties Summary

Class API

Methods

__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:


Returns:

wx.PreviewFrame


CreateCanvas()

Creates a wx.PreviewCanvas.

Override this function to allow a user-defined preview canvas object to be created.


CreateControlBar()

Creates a wx.PreviewControlBar.

Override this function to allow a user-defined preview control bar object to be created.


GetControlBar()
No docstrings available for this 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

ControlBar
See GetControlBar