1wxPrintDialog(3) Erlang Module Definition wxPrintDialog(3)
2
3
4
6 wxPrintDialog - Functions for wxPrintDialog class
7
9 This class represents the print and print setup common dialogs. You may
10 obtain a wxPrinterDC (not implemented in wx) device context from a suc‐
11 cessfully dismissed print dialog.
12
13 See: Overview printing, Overview cmndlg
14
15 This class is derived (and can use functions) from: wxDialog wxTo‐
16 pLevelWindow wxWindow wxEvtHandler
17
18 wxWidgets docs: wxPrintDialog
19
21 wxPrintDialog() = wx:wx_object()
22
24 new(Parent) -> wxPrintDialog()
25
26 Types:
27
28 Parent = wxWindow:wxWindow()
29
30 new(Parent, Options :: [Option]) -> wxPrintDialog()
31
32 new(Parent, Data) -> wxPrintDialog()
33
34 Types:
35
36 Parent = wxWindow:wxWindow()
37 Data = wxPrintData:wxPrintData()
38
39 destroy(This :: wxPrintDialog()) -> ok
40
41 Destructor.
42
43 If getPrintDC/1 has not been called, the device context obtained
44 by the dialog (if any) will be deleted.
45
46 getPrintDialogData(This) -> wxPrintDialogData:wxPrintDialogData()
47
48 Types:
49
50 This = wxPrintDialog()
51
52 Returns the print dialog data associated with the print dialog.
53
54 getPrintDC(This) -> wxDC:wxDC()
55
56 Types:
57
58 This = wxPrintDialog()
59
60 Returns the device context created by the print dialog, if any.
61
62 When this function has been called, the ownership of the device
63 context is transferred to the application, so it must then be
64 deleted explicitly.
65
66
67
68wxWidgets team. wx 2.2.1 wxPrintDialog(3)