DOKK / manpages / debian 10 / erlang-manpages / wxPrinter.3erl.en
wxPrinter(3erl) Erlang Module Definition wxPrinter(3erl)

wxPrinter - See external documentation: wxPrinter.

See external documentation: wxPrinter.

An object reference, The representation is internal and can be changed without notice. It can't be used for comparsion stored on disc or distributed for use on other nodes.

new() -> wxPrinter()

Equivalent to new([]).

new(Options::[Option]) -> wxPrinter()

Types:

Option = {data, wxPrintDialogData:wxPrintDialogData()}

See external documentation.

createAbortWindow(This, Parent, Printout) -> wxWindow:wxWindow()

Types:

This = wxPrinter()
Parent = wxWindow:wxWindow()
Printout = wxPrintout:wxPrintout()

See external documentation.

getAbort(This) -> boolean()

Types:

This = wxPrinter()

See external documentation.

getLastError() -> wx:wx_enum()

See external documentation.
Res = ?wxPRINTER_NO_ERROR | ?wxPRINTER_CANCELLED | ?wxPRINTER_ERROR

getPrintDialogData(This) -> wxPrintDialogData:wxPrintDialogData()

Types:

This = wxPrinter()

See external documentation.

print(This, Parent, Printout) -> boolean()

Types:

This = wxPrinter()
Parent = wxWindow:wxWindow()
Printout = wxPrintout:wxPrintout()

Equivalent to print(This, Parent, Printout, []).

print(This, Parent, Printout, Options::[Option]) -> boolean()

Types:

This = wxPrinter()
Parent = wxWindow:wxWindow()
Printout = wxPrintout:wxPrintout()
Option = {prompt, boolean()}

See external documentation.

printDialog(This, Parent) -> wxDC:wxDC()

Types:

This = wxPrinter()
Parent = wxWindow:wxWindow()

See external documentation.

reportError(This, Parent, Printout, Message) -> ok

Types:

This = wxPrinter()
Parent = wxWindow:wxWindow()
Printout = wxPrintout:wxPrintout()
Message = unicode:chardata()

See external documentation.

setup(This, Parent) -> boolean()

Types:

This = wxPrinter()
Parent = wxWindow:wxWindow()

See external documentation.

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

Destroys this object, do not use object again

<>

wx 1.8.6