1wxMenuBar(3) Erlang Module Definition wxMenuBar(3)
2
3
4
6 wxMenuBar - See external documentation: wxMenuBar.
7
9 See external documentation: wxMenuBar.
10
11 This class is derived (and can use functions) from:
12 wxWindow
13 wxEvtHandler
14
16 wxMenuBar():
17
18
19 An object reference, The representation is internal and can be
20 changed without notice. It can't be used for comparsion stored on
21 disc or distributed for use on other nodes.
22
24 new() -> wxMenuBar()
25
26 See external documentation.
27
28 new(Style) -> wxMenuBar()
29
30 Types:
31
32 Style = integer()
33
34 See external documentation.
35
36 append(This, Menu, Title) -> boolean()
37
38 Types:
39
40 This = wxMenuBar()
41 Menu = wxMenu:wxMenu()
42 Title = unicode:chardata()
43
44 See external documentation.
45
46 check(This, Itemid, Check) -> ok
47
48 Types:
49
50 This = wxMenuBar()
51 Itemid = integer()
52 Check = boolean()
53
54 See external documentation.
55
56 enable(This) -> boolean()
57
58 Types:
59
60 This = wxMenuBar()
61
62 Equivalent to enable(This, []).
63
64 enable(This, Options::[Option]) -> boolean()
65
66 Types:
67
68 This = wxMenuBar()
69 Option = {enable, boolean()}
70
71 See external documentation.
72
73 enable(This, Itemid, Enable) -> ok
74
75 Types:
76
77 This = wxMenuBar()
78 Itemid = integer()
79 Enable = boolean()
80
81 See external documentation.
82
83 enableTop(This, Pos, Flag) -> ok
84
85 Types:
86
87 This = wxMenuBar()
88 Pos = integer()
89 Flag = boolean()
90
91 See external documentation.
92
93 findMenu(This, Title) -> integer()
94
95 Types:
96
97 This = wxMenuBar()
98 Title = unicode:chardata()
99
100 See external documentation.
101
102 findMenuItem(This, MenuString, ItemString) -> integer()
103
104 Types:
105
106 This = wxMenuBar()
107 MenuString = unicode:chardata()
108 ItemString = unicode:chardata()
109
110 See external documentation.
111
112 findItem(This, Id) -> wxMenuItem:wxMenuItem()
113
114 Types:
115
116 This = wxMenuBar()
117 Id = integer()
118
119 See external documentation.
120
121 getHelpString(This, Itemid) -> unicode:charlist()
122
123 Types:
124
125 This = wxMenuBar()
126 Itemid = integer()
127
128 See external documentation.
129
130 getLabel(This) -> unicode:charlist()
131
132 Types:
133
134 This = wxMenuBar()
135
136 See external documentation.
137
138 getLabel(This, Itemid) -> unicode:charlist()
139
140 Types:
141
142 This = wxMenuBar()
143 Itemid = integer()
144
145 See external documentation.
146
147 getLabelTop(This, Pos) -> unicode:charlist()
148
149 Types:
150
151 This = wxMenuBar()
152 Pos = integer()
153
154 See external documentation.
155
156 getMenu(This, Pos) -> wxMenu:wxMenu()
157
158 Types:
159
160 This = wxMenuBar()
161 Pos = integer()
162
163 See external documentation.
164
165 getMenuCount(This) -> integer()
166
167 Types:
168
169 This = wxMenuBar()
170
171 See external documentation.
172
173 insert(This, Pos, Menu, Title) -> boolean()
174
175 Types:
176
177 This = wxMenuBar()
178 Pos = integer()
179 Menu = wxMenu:wxMenu()
180 Title = unicode:chardata()
181
182 See external documentation.
183
184 isChecked(This, Itemid) -> boolean()
185
186 Types:
187
188 This = wxMenuBar()
189 Itemid = integer()
190
191 See external documentation.
192
193 isEnabled(This) -> boolean()
194
195 Types:
196
197 This = wxMenuBar()
198
199 See external documentation.
200
201 isEnabled(This, Itemid) -> boolean()
202
203 Types:
204
205 This = wxMenuBar()
206 Itemid = integer()
207
208 See external documentation.
209
210 remove(This, Pos) -> wxMenu:wxMenu()
211
212 Types:
213
214 This = wxMenuBar()
215 Pos = integer()
216
217 See external documentation.
218
219 replace(This, Pos, Menu, Title) -> wxMenu:wxMenu()
220
221 Types:
222
223 This = wxMenuBar()
224 Pos = integer()
225 Menu = wxMenu:wxMenu()
226 Title = unicode:chardata()
227
228 See external documentation.
229
230 setHelpString(This, Itemid, HelpString) -> ok
231
232 Types:
233
234 This = wxMenuBar()
235 Itemid = integer()
236 HelpString = unicode:chardata()
237
238 See external documentation.
239
240 setLabel(This, S) -> ok
241
242 Types:
243
244 This = wxMenuBar()
245 S = unicode:chardata()
246
247 See external documentation.
248
249 setLabel(This, Itemid, Label) -> ok
250
251 Types:
252
253 This = wxMenuBar()
254 Itemid = integer()
255 Label = unicode:chardata()
256
257 See external documentation.
258
259 setLabelTop(This, Pos, Label) -> ok
260
261 Types:
262
263 This = wxMenuBar()
264 Pos = integer()
265 Label = unicode:chardata()
266
267 See external documentation.
268
269 destroy(This::wxMenuBar()) -> ok
270
271 Destroys this object, do not use object again
272
274 <>
275
276
277
278 wx 1.8.7 wxMenuBar(3)