1wxButton(3)                Erlang Module Definition                wxButton(3)
2
3
4

NAME

6       wxButton - See external documentation: wxButton.
7

DESCRIPTION

9       See external documentation: wxButton.
10
11       This class is derived (and can use functions) from:
12       wxControl
13       wxWindow
14       wxEvtHandler
15

DATA TYPES

17         wxButton():
18
19
20           An  object  reference,  The  representation  is internal and can be
21           changed without notice. It can't be used for comparsion  stored  on
22           disc or distributed for use on other nodes.
23

EXPORTS

25       new() -> wxButton()
26
27              See external documentation.
28
29       new(Parent, Id) -> wxButton()
30
31              Types:
32
33                 Parent = wxWindow:wxWindow()
34                 Id = integer()
35
36              Equivalent to new(Parent, Id, []).
37
38       new(Parent, Id, Options::[Option]) -> wxButton()
39
40              Types:
41
42                 Parent = wxWindow:wxWindow()
43                 Id = integer()
44                 Option  =  {label, unicode:chardata()} | {pos, {X::integer(),
45                 Y::integer()}}  |  {size,  {W::integer(),  H::integer()}}   |
46                 {style, integer()} | {validator, wx:wx_object()}
47
48              See external documentation.
49
50       create(This, Parent, Id) -> boolean()
51
52              Types:
53
54                 This = wxButton()
55                 Parent = wxWindow:wxWindow()
56                 Id = integer()
57
58              Equivalent to create(This, Parent, Id, []).
59
60       create(This, Parent, Id, Options::[Option]) -> boolean()
61
62              Types:
63
64                 This = wxButton()
65                 Parent = wxWindow:wxWindow()
66                 Id = integer()
67                 Option  =  {label, unicode:chardata()} | {pos, {X::integer(),
68                 Y::integer()}}  |  {size,  {W::integer(),  H::integer()}}   |
69                 {style, integer()} | {validator, wx:wx_object()}
70
71              See external documentation.
72
73       getDefaultSize() -> {W::integer(), H::integer()}
74
75              See external documentation.
76
77       setDefault(This) -> ok
78
79              Types:
80
81                 This = wxButton()
82
83              See external documentation.
84
85       setLabel(This, Label) -> ok
86
87              Types:
88
89                 This = wxButton()
90                 Label = unicode:chardata()
91
92              See external documentation.
93
94       destroy(This::wxButton()) -> ok
95
96              Destroys this object, do not use object again
97

AUTHORS

99       <>
100
101
102
103                                   wx 1.8.7                        wxButton(3)
Impressum