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

NAME

6       wxXmlResource - See external documentation: wxXmlResource.
7

DESCRIPTION

9       See external documentation: wxXmlResource.
10

DATA TYPES

12         wxXmlResource():
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() -> wxXmlResource()
21
22              Equivalent to new([]).
23
24       new(Options::[Option]) -> wxXmlResource()
25
26              Types:
27
28                 Option = {flags, integer()} | {domain, unicode:chardata()}
29
30              See external documentation.
31
32       new(Filemask, Options::[Option]) -> wxXmlResource()
33
34              Types:
35
36                 Filemask = unicode:chardata()
37                 Option = {flags, integer()} | {domain, unicode:chardata()}
38
39              See external documentation.
40
41       attachUnknownControl(This, Name, Control) -> boolean()
42
43              Types:
44
45                 This = wxXmlResource()
46                 Name = unicode:chardata()
47                 Control = wxWindow:wxWindow()
48
49              Equivalent to attachUnknownControl(This, Name, Control, []).
50
51       attachUnknownControl(This,  Name,  Control, Options::[Option]) -> bool‐
52       ean()
53
54              Types:
55
56                 This = wxXmlResource()
57                 Name = unicode:chardata()
58                 Control = wxWindow:wxWindow()
59                 Option = {parent, wxWindow:wxWindow()}
60
61              See external documentation.
62
63       clearHandlers(This) -> ok
64
65              Types:
66
67                 This = wxXmlResource()
68
69              See external documentation.
70
71       compareVersion(This, Major, Minor, Release, Revision) -> integer()
72
73              Types:
74
75                 This = wxXmlResource()
76                 Major = integer()
77                 Minor = integer()
78                 Release = integer()
79                 Revision = integer()
80
81              See external documentation.
82
83       get() -> wxXmlResource()
84
85              See external documentation.
86
87       getFlags(This) -> integer()
88
89              Types:
90
91                 This = wxXmlResource()
92
93              See external documentation.
94
95       getVersion(This) -> integer()
96
97              Types:
98
99                 This = wxXmlResource()
100
101              See external documentation.
102
103       getXRCID(Str_id) -> integer()
104
105              Types:
106
107                 Str_id = [unicode:chardata()]
108
109              Equivalent to getXRCID(Str_id, []).
110
111       getXRCID(Str_id, Options::[Option]) -> integer()
112
113              Types:
114
115                 Str_id = [unicode:chardata()]
116                 Option = {value_if_not_found, integer()}
117
118              See external documentation.
119
120       initAllHandlers(This) -> ok
121
122              Types:
123
124                 This = wxXmlResource()
125
126              See external documentation.
127
128       load(This, Filemask) -> boolean()
129
130              Types:
131
132                 This = wxXmlResource()
133                 Filemask = unicode:chardata()
134
135              See external documentation.
136
137       loadBitmap(This, Name) -> wxBitmap:wxBitmap()
138
139              Types:
140
141                 This = wxXmlResource()
142                 Name = unicode:chardata()
143
144              See external documentation.
145
146       loadDialog(This, Parent, Name) -> wxDialog:wxDialog()
147
148              Types:
149
150                 This = wxXmlResource()
151                 Parent = wxWindow:wxWindow()
152                 Name = unicode:chardata()
153
154              See external documentation.
155
156       loadDialog(This, Dlg, Parent, Name) -> boolean()
157
158              Types:
159
160                 This = wxXmlResource()
161                 Dlg = wxDialog:wxDialog()
162                 Parent = wxWindow:wxWindow()
163                 Name = unicode:chardata()
164
165              See external documentation.
166
167       loadFrame(This, Parent, Name) -> wxFrame:wxFrame()
168
169              Types:
170
171                 This = wxXmlResource()
172                 Parent = wxWindow:wxWindow()
173                 Name = unicode:chardata()
174
175              See external documentation.
176
177       loadFrame(This, Frame, Parent, Name) -> boolean()
178
179              Types:
180
181                 This = wxXmlResource()
182                 Frame = wxFrame:wxFrame()
183                 Parent = wxWindow:wxWindow()
184                 Name = unicode:chardata()
185
186              See external documentation.
187
188       loadIcon(This, Name) -> wxIcon:wxIcon()
189
190              Types:
191
192                 This = wxXmlResource()
193                 Name = unicode:chardata()
194
195              See external documentation.
196
197       loadMenu(This, Name) -> wxMenu:wxMenu()
198
199              Types:
200
201                 This = wxXmlResource()
202                 Name = unicode:chardata()
203
204              See external documentation.
205
206       loadMenuBar(This, Name) -> wxMenuBar:wxMenuBar()
207
208              Types:
209
210                 This = wxXmlResource()
211                 Name = unicode:chardata()
212
213              See external documentation.
214
215       loadMenuBar(This, Parent, Name) -> wxMenuBar:wxMenuBar()
216
217              Types:
218
219                 This = wxXmlResource()
220                 Parent = wxWindow:wxWindow()
221                 Name = unicode:chardata()
222
223              See external documentation.
224
225       loadPanel(This, Parent, Name) -> wxPanel:wxPanel()
226
227              Types:
228
229                 This = wxXmlResource()
230                 Parent = wxWindow:wxWindow()
231                 Name = unicode:chardata()
232
233              See external documentation.
234
235       loadPanel(This, Panel, Parent, Name) -> boolean()
236
237              Types:
238
239                 This = wxXmlResource()
240                 Panel = wxPanel:wxPanel()
241                 Parent = wxWindow:wxWindow()
242                 Name = unicode:chardata()
243
244              See external documentation.
245
246       loadToolBar(This, Parent, Name) -> wxToolBar:wxToolBar()
247
248              Types:
249
250                 This = wxXmlResource()
251                 Parent = wxWindow:wxWindow()
252                 Name = unicode:chardata()
253
254              See external documentation.
255
256       set(Res) -> wxXmlResource()
257
258              Types:
259
260                 Res = wxXmlResource()
261
262              See external documentation.
263
264       setFlags(This, Flags) -> ok
265
266              Types:
267
268                 This = wxXmlResource()
269                 Flags = integer()
270
271              See external documentation.
272
273       unload(This, Filename) -> boolean()
274
275              Types:
276
277                 This = wxXmlResource()
278                 Filename = unicode:chardata()
279
280              See external documentation.
281
282       xrcctrl(Window, Name, Type) -> wx:wx_object()
283
284              Types:
285
286                 Window = wxWindow:wxWindow()
287                 Name = string()
288                 Type = atom()
289
290              Looks up a control with  Name  in  a  window  created  with  XML
291              resources.  You  can use it to set/get values from controls. The
292              object is type casted to Type. Example:
293              Xrc = wxXmlResource:get(),
294              Dlg = wxDialog:new(),
295              true = wxXmlResource:loadDialog(Xrc, Dlg, Frame,  "controls_dia‐
296              log"),
297              LCtrl = xrcctrl(Dlg, "controls_listctrl", wxListCtrl),
298              wxListCtrl:insertColumn(LCtrl, 0, "Name", [{width, 200}]),
299
300
301       destroy(This::wxXmlResource()) -> ok
302
303              Destroys this object, do not use object again
304

AUTHORS

306       <>
307
308
309
310                                   wx 1.8.9                   wxXmlResource(3)
Impressum