wxPrinter.3erl

Langue: en

Autres versions - même langue

Version: 295215 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

wxPrinter - See external documentation: wxPrinter.

DESCRIPTION

See external documentation: wxPrinter <http://www.wxwidgets.org/manuals/stable/wx_wxprinter.html>.

DATA TYPES

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.

EXPORTS

new() -> wxPrinter()


Equivalent to new([]).

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

Types
Option = {data, wxPrintDialogData() (see module wxPrintDialogData)}

See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxprinter.html#wxprinterwxprinter>.

createAbortWindow(This::wxPrinter(), Parent::wxWindow() (see module wxWindow), Printout::wxPrintout() (see module wxPrintout)) -> wxWindow() (see module wxWindow)


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxprinter.html#wxprintercreateabortwindow>.

getAbort(This::wxPrinter()) -> bool()


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxprinter.html#wxprintergetabort>.

getLastError() -> WxPrinterError

Types
WxPrinterError = integer()

See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxprinter.html#wxprintergetlasterror>.

 WxPrinterError is one of ?wxPRINTER_NO_ERROR | ?wxPRINTER_CANCELLED | ?wxPRINTER_ERROR

getPrintDialogData(This::wxPrinter()) -> wxPrintDialogData() (see module wxPrintDialogData)


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxprinter.html#wxprintergetprintdialogdata>.

print(This::wxPrinter(), Parent::wxWindow() (see module wxWindow), Printout::wxPrintout() (see module wxPrintout)) -> bool()


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

print(This::wxPrinter(), Parent::wxWindow() (see module wxWindow), Printout::wxPrintout() (see module wxPrintout), Options::[Option]) -> bool()

Types
Option = {prompt, bool()}

See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxprinter.html#wxprinterprint>.

printDialog(This::wxPrinter(), Parent::wxWindow() (see module wxWindow)) -> wxDC() (see module wxDC)


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxprinter.html#wxprinterprintdialog>.

reportError(This::wxPrinter(), Parent::wxWindow() (see module wxWindow), Printout::wxPrintout() (see module wxPrintout), Message::string()) -> ok


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxprinter.html#wxprinterreporterror>.

setup(This::wxPrinter(), Parent::wxWindow() (see module wxWindow)) -> bool()


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxprinter.html#wxprintersetup>.

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


Destroys this object, do not use object again