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 setAutoWindowMenu(Enable) -> ok
194
195 Types:
196
197 Enable = boolean()
198
199 See external documentation.
200
201 getAutoWindowMenu() -> boolean()
202
203 See external documentation.
204
205 oSXGetAppleMenu(This) -> wxMenu:wxMenu()
206
207 Types:
208
209 This = wxMenuBar()
210
211 See external documentation.
212
213 isEnabled(This) -> boolean()
214
215 Types:
216
217 This = wxMenuBar()
218
219 See external documentation.
220
221 isEnabled(This, Itemid) -> boolean()
222
223 Types:
224
225 This = wxMenuBar()
226 Itemid = integer()
227
228 See external documentation.
229
230 remove(This, Pos) -> wxMenu:wxMenu()
231
232 Types:
233
234 This = wxMenuBar()
235 Pos = integer()
236
237 See external documentation.
238
239 replace(This, Pos, Menu, Title) -> wxMenu:wxMenu()
240
241 Types:
242
243 This = wxMenuBar()
244 Pos = integer()
245 Menu = wxMenu:wxMenu()
246 Title = unicode:chardata()
247
248 See external documentation.
249
250 setHelpString(This, Itemid, HelpString) -> ok
251
252 Types:
253
254 This = wxMenuBar()
255 Itemid = integer()
256 HelpString = unicode:chardata()
257
258 See external documentation.
259
260 setLabel(This, S) -> ok
261
262 Types:
263
264 This = wxMenuBar()
265 S = unicode:chardata()
266
267 See external documentation.
268
269 setLabel(This, Itemid, Label) -> ok
270
271 Types:
272
273 This = wxMenuBar()
274 Itemid = integer()
275 Label = unicode:chardata()
276
277 See external documentation.
278
279 setLabelTop(This, Pos, Label) -> ok
280
281 Types:
282
283 This = wxMenuBar()
284 Pos = integer()
285 Label = unicode:chardata()
286
287 See external documentation.
288
289 destroy(This::wxMenuBar()) -> ok
290
291 Destroys this object, do not use object again
292
294 <>
295
296
297
298 wx 1.9.3.1 wxMenuBar(3)