1wxMessageDialog(3) Erlang Module Definition wxMessageDialog(3)
2
3
4
6 wxMessageDialog - Functions for wxMessageDialog class
7
9 This class represents a dialog that shows a single or multi-line mes‐
10 sage, with a choice of OK, Yes, No and Cancel buttons.
11
12 Styles
13
14 This class supports the following styles:
15
16 See: Overview cmndlg
17
18 See: wxRichMessageDialog (not implemented in wx)
19
20 This class is derived (and can use functions) from: wxDialog wxTo‐
21 pLevelWindow wxWindow wxEvtHandler
22
23 wxWidgets docs: wxMessageDialog
24
26 wxMessageDialog() = wx:wx_object()
27
29 new(Parent, Message) -> wxMessageDialog()
30
31 Types:
32
33 Parent = wxWindow:wxWindow()
34 Message = unicode:chardata()
35
36 new(Parent, Message, Options :: [Option]) -> wxMessageDialog()
37
38 Types:
39
40 Parent = wxWindow:wxWindow()
41 Message = unicode:chardata()
42 Option =
43 {caption, unicode:chardata()} |
44 {style, integer()} |
45 {pos, {X :: integer(), Y :: integer()}}
46
47 Constructor specifying the message box properties.
48
49 Use wxDialog:showModal/1 to show the dialog.
50
51 style may be a bit list of the identifiers described above.
52
53 Notice that not all styles are compatible: only one of wxOK and
54 wxYES_NO may be specified (and one of them must be specified)
55 and at most one default button style can be used and it is only
56 valid if the corresponding button is shown in the message box.
57
58 destroy(This :: wxMessageDialog()) -> ok
59
60 Destroys the object.
61
62
63
64wxWidgets team. wx 2.2.1 wxMessageDialog(3)