1wxPageSetupDialog(3) Erlang Module Definition wxPageSetupDialog(3)
2
3
4
6 wxPageSetupDialog - Functions for wxPageSetupDialog class
7
9 This class represents the page setup common dialog.
10
11 The page setup dialog contains controls for paper size (letter, A4, A5
12 etc.), orientation (landscape or portrait), and, only under Windows
13 currently, controls for setting left, top, right and bottom margin
14 sizes in millimetres.
15
16 The exact appearance of this dialog varies among the platforms as a na‐
17 tive dialog is used when available (currently the case for all major
18 platforms).
19
20 When the dialog has been closed, you need to query the wxPageSetupDi‐
21 alogData object associated with the dialog.
22
23 Note that the OK and Cancel buttons do not destroy the dialog; this
24 must be done by the application.
25
26 See: Overview printing, wxPrintDialog, wxPageSetupDialogData
27
28 wxWidgets docs: wxPageSetupDialog
29
31 wxPageSetupDialog() = wx:wx_object()
32
34 new(Parent) -> wxPageSetupDialog()
35
36 Types:
37
38 Parent = wxWindow:wxWindow()
39
40 new(Parent, Options :: [Option]) -> wxPageSetupDialog()
41
42 Types:
43
44 Parent = wxWindow:wxWindow()
45 Option = {data, wxPageSetupDialogData:wxPageSetupDialog‐
46 Data()}
47
48 Constructor.
49
50 Pass a parent window, and optionally a pointer to a block of
51 page setup data, which will be copied to the print dialog's in‐
52 ternal data.
53
54 destroy(This :: wxPageSetupDialog()) -> ok
55
56 Destructor.
57
58 getPageSetupData(This) ->
59 wxPageSetupDialogData:wxPageSetupDialogData()
60
61 Types:
62
63 This = wxPageSetupDialog()
64
65 Returns the wxPageSetupDialogData object associated with the di‐
66 alog.
67
68 showModal(This) -> integer()
69
70 Types:
71
72 This = wxPageSetupDialog()
73
74 Shows the dialog, returning wxID_OK if the user pressed OK, and
75 wxID_CANCEL otherwise.
76
77
78
79wxWidgets team. wx 2.1.4 wxPageSetupDialog(3)