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

NAME

6       wxMenuItem - See external documentation: wxMenuItem.
7

DESCRIPTION

9       See external documentation: wxMenuItem.
10

DATA TYPES

12         wxMenuItem():
13
14
15           An  object  reference,  The  representation  is internal and can be
16           changed without notice. It can't be used for comparsion  stored  on
17           disc or distributed for use on other nodes.
18

EXPORTS

20       new() -> wxMenuItem()
21
22              Equivalent to new([]).
23
24       new(Options::[Option]) -> wxMenuItem()
25
26              Types:
27
28                 Option  =  {parentMenu,  wxMenu:wxMenu()} | {id, integer()} |
29                 {text, unicode:chardata()}  |  {help,  unicode:chardata()}  |
30                 {kind, wx:wx_enum()} | {subMenu, wxMenu:wxMenu()}
31
32              See external documentation.
33              Kind  =  ?wxITEM_SEPARATOR  |  ?wxITEM_NORMAL  | ?wxITEM_CHECK |
34              ?wxITEM_RADIO | ?wxITEM_MAX
35
36       check(This) -> ok
37
38              Types:
39
40                 This = wxMenuItem()
41
42              Equivalent to check(This, []).
43
44       check(This, Options::[Option]) -> ok
45
46              Types:
47
48                 This = wxMenuItem()
49                 Option = {check, boolean()}
50
51              See external documentation.
52
53       enable(This) -> ok
54
55              Types:
56
57                 This = wxMenuItem()
58
59              Equivalent to enable(This, []).
60
61       enable(This, Options::[Option]) -> ok
62
63              Types:
64
65                 This = wxMenuItem()
66                 Option = {enable, boolean()}
67
68              See external documentation.
69
70       getBitmap(This) -> wxBitmap:wxBitmap()
71
72              Types:
73
74                 This = wxMenuItem()
75
76              See external documentation.
77
78       getHelp(This) -> unicode:charlist()
79
80              Types:
81
82                 This = wxMenuItem()
83
84              See external documentation.
85
86       getId(This) -> integer()
87
88              Types:
89
90                 This = wxMenuItem()
91
92              See external documentation.
93
94       getKind(This) -> wx:wx_enum()
95
96              Types:
97
98                 This = wxMenuItem()
99
100              See external documentation.
101              Res =  ?wxITEM_SEPARATOR  |  ?wxITEM_NORMAL  |  ?wxITEM_CHECK  |
102              ?wxITEM_RADIO | ?wxITEM_MAX
103
104       getLabel(This) -> unicode:charlist()
105
106              Types:
107
108                 This = wxMenuItem()
109
110              See external documentation.
111
112       getLabelFromText(Text) -> unicode:charlist()
113
114              Types:
115
116                 Text = unicode:chardata()
117
118              See external documentation.
119
120       getMenu(This) -> wxMenu:wxMenu()
121
122              Types:
123
124                 This = wxMenuItem()
125
126              See external documentation.
127
128       getText(This) -> unicode:charlist()
129
130              Types:
131
132                 This = wxMenuItem()
133
134              See external documentation.
135
136       getSubMenu(This) -> wxMenu:wxMenu()
137
138              Types:
139
140                 This = wxMenuItem()
141
142              See external documentation.
143
144       isCheckable(This) -> boolean()
145
146              Types:
147
148                 This = wxMenuItem()
149
150              See external documentation.
151
152       isChecked(This) -> boolean()
153
154              Types:
155
156                 This = wxMenuItem()
157
158              See external documentation.
159
160       isEnabled(This) -> boolean()
161
162              Types:
163
164                 This = wxMenuItem()
165
166              See external documentation.
167
168       isSeparator(This) -> boolean()
169
170              Types:
171
172                 This = wxMenuItem()
173
174              See external documentation.
175
176       isSubMenu(This) -> boolean()
177
178              Types:
179
180                 This = wxMenuItem()
181
182              See external documentation.
183
184       setBitmap(This, Bitmap) -> ok
185
186              Types:
187
188                 This = wxMenuItem()
189                 Bitmap = wxBitmap:wxBitmap()
190
191              See external documentation.
192
193       setHelp(This, Str) -> ok
194
195              Types:
196
197                 This = wxMenuItem()
198                 Str = unicode:chardata()
199
200              See external documentation.
201
202       setMenu(This, Menu) -> ok
203
204              Types:
205
206                 This = wxMenuItem()
207                 Menu = wxMenu:wxMenu()
208
209              See external documentation.
210
211       setSubMenu(This, Menu) -> ok
212
213              Types:
214
215                 This = wxMenuItem()
216                 Menu = wxMenu:wxMenu()
217
218              See external documentation.
219
220       setText(This, Str) -> ok
221
222              Types:
223
224                 This = wxMenuItem()
225                 Str = unicode:chardata()
226
227              See external documentation.
228
229       destroy(This::wxMenuItem()) -> ok
230
231              Destroys this object, do not use object again
232

AUTHORS

234       <>
235
236
237
238                                    wx 1.9                       wxMenuItem(3)
Impressum