GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
wxPreviewFrame(3) Erlang Module Definition wxPreviewFrame(3)

wxPreviewFrame - Functions for wxPreviewFrame class

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.

See: wxPreviewCanvas, wxPreviewControlBar, wxPrintPreview

This class is derived (and can use functions) from: wxFrame wxTopLevelWindow wxWindow wxEvtHandler

wxWidgets docs: wxPreviewFrame

wxPreviewFrame() = wx:wx_object()

new(Preview, Parent) -> wxPreviewFrame()


Types:

Preview = wxPrintPreview:wxPrintPreview()
Parent = wxWindow:wxWindow()

new(Preview, Parent, Options :: [Option]) -> wxPreviewFrame()


Types:

Preview = wxPrintPreview:wxPrintPreview()
Parent = wxWindow:wxWindow()
Option = {title, unicode:chardata()} | {pos, {X :: integer(), Y :: integer()}} | {size, {W :: integer(), H :: integer()}} | {style, integer()}

Constructor.

Pass a print preview object plus other normal frame arguments. The print preview object will be destroyed by the frame when it closes.

destroy(This :: wxPreviewFrame()) -> ok


Destructor.

createControlBar(This) -> ok


Types:

This = wxPreviewFrame()

Creates a wxPreviewControlBar.

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

createCanvas(This) -> ok


Types:

This = wxPreviewFrame()

Creates a wxPreviewCanvas.

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

initialize(This) -> ok


Types:

This = wxPreviewFrame()

Initializes the frame elements and prepares for showing it.

Calling this method is equivalent to calling InitializeWithModality() (not implemented in wx) with wxPreviewFrame_AppModal argument, please see its documentation for more details.

Please notice that this function is virtual mostly for backwards compatibility only, there is no real need to override it as it's never called by wxWidgets itself.

onCloseWindow(This, Event) -> ok


Types:

This = wxPreviewFrame()
Event = wxCloseEvent:wxCloseEvent()

Enables any disabled frames in the application, and deletes the print preview object, implicitly deleting any printout objects associated with the print preview object.

wx 2.1.1 wxWidgets team.

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.