1wxToggleButton(3) Erlang Module Definition wxToggleButton(3)
2
3
4
6 wxToggleButton - See external documentation: wxToggleButton.
7
9 See external documentation: wxToggleButton.
10
11 This class is derived (and can use functions) from:
12 wxControl
13 wxWindow
14 wxEvtHandler
15
17 wxToggleButton():
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
25 new() -> wxToggleButton()
26
27 See external documentation.
28
29 new(Parent, Id, Label) -> wxToggleButton()
30
31 Types:
32
33 Parent = wxWindow:wxWindow()
34 Id = integer()
35 Label = unicode:chardata()
36
37 Equivalent to new(Parent, Id, Label, []).
38
39 new(Parent, Id, Label, Options::[Option]) -> wxToggleButton()
40
41 Types:
42
43 Parent = wxWindow:wxWindow()
44 Id = integer()
45 Label = unicode:chardata()
46 Option = {pos, {X::integer(), Y::integer()}} | {size,
47 {W::integer(), H::integer()}} | {style, integer()} | {valida‐
48 tor, wx:wx_object()}
49
50 See external documentation.
51
52 create(This, Parent, Id, Label) -> boolean()
53
54 Types:
55
56 This = wxToggleButton()
57 Parent = wxWindow:wxWindow()
58 Id = integer()
59 Label = unicode:chardata()
60
61 Equivalent to create(This, Parent, Id, Label, []).
62
63 create(This, Parent, Id, Label, Options::[Option]) -> boolean()
64
65 Types:
66
67 This = wxToggleButton()
68 Parent = wxWindow:wxWindow()
69 Id = integer()
70 Label = unicode:chardata()
71 Option = {pos, {X::integer(), Y::integer()}} | {size,
72 {W::integer(), H::integer()}} | {style, integer()} | {valida‐
73 tor, wx:wx_object()}
74
75 See external documentation.
76
77 getValue(This) -> boolean()
78
79 Types:
80
81 This = wxToggleButton()
82
83 See external documentation.
84
85 setValue(This, State) -> ok
86
87 Types:
88
89 This = wxToggleButton()
90 State = boolean()
91
92 See external documentation.
93
94 destroy(This::wxToggleButton()) -> ok
95
96 Destroys this object, do not use object again
97
99 <>
100
101
102
103 wx 1.9 wxToggleButton(3)