File: objtypes.xml

package info (click to toggle)
wxformbuilder 4.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 8,908 kB
  • sloc: cpp: 37,318; xml: 6,611; javascript: 1,353; python: 94; sh: 62; makefile: 62
file content (355 lines) | stat: -rw-r--r-- 10,831 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<definitions>

  <!--
  Object type definitions

  All wxFormBuilder objects have a type which is used for building
  a well-formed tree. You will be able to create an object if its
  type is defined as a child-type of the parent object type.
  For example, you can create a wxFrame (type form) below the project
  object, but not in any other place.

  If a type has the "item" flag set to one, it means that the object
  with that type is not a regular (as controls and sizers) object,
  it's a "item" object.

  Items are used to extend the set of properties of the object inside it.
  For example, every object created below a sizer will have the sizeritem properties,
  needed to add the object into the sizer.

  Item objects are created implicitly by wxFormBuilder. If the object
  creation fails by checking the types, wxFB tries to find a item object
  that match the placement rules.

  For example, if you try to create a wxButton (type "widget") below
  a wxBoxSizer (type "sizer"), the creation fails at the first instance
  because a sizer can't contain a widget. Then, wxFB checks if the
  "widget" can be created with a item between them and it finds that
  a widget can be created below a sizer if there is a sizeritem between
  them.

  Note: the name of item type has to the same that the class associated to
        that item. wxFB needs to know the class name in order to create
        the object automatically.

  Items objects are not showed in the object tree, but the properties
  are showed attached with the inner object properties.

  "nmax" flag of a childtype object indicates the maximum number
  of objects that can be created. Items should contains just one
  object, so nmax is set to '1'.

  "aui_nmax" flag has the same meaning like "nmax" but it is used for
  frames managed by AUI only.
  -->

  <objtype name="project">
    <childtype name="form"/>
    <childtype name="wizard"/>
    <childtype name="menubar_form"/>
    <childtype name="toolbar_form"/>
  </objtype>

  <objtype name="interface"/>

  <objtype name="form">
    <childtype name="sizer" nmax="1" aui_nmax="0"/>
    <childtype name="gbsizer" nmax="1" aui_nmax="0"/>
    <childtype name="menubar" nmax="1" aui_nmax="1"/>
    <childtype name="menu" nmax="1" aui_nmax="1"/>
    <childtype name="statusbar" nmax="1" aui_nmax="1"/>
    <childtype name="toolbar" nmax="1"/>
    <childtype name="widget" nmax="0"/>
    <childtype name="expanded_widget" nmax="0"/>
    <childtype name="container" nmax="0"/>
    <childtype name="notebook" nmax="0"/>
    <childtype name="auinotebook" nmax="0"/>
    <childtype name="flatnotebook" nmax="0"/>
    <childtype name="listbook" nmax="0"/>
    <childtype name="simplebook" nmax="0"/>
    <childtype name="choicebook" nmax="0"/>
    <childtype name="treelistctrl" nmax="0"/>
    <childtype name="splitter" nmax="0"/>
    <childtype name="nonvisual"/>
    <childtype name="ribbonbar" nmax="0"/>
    <childtype name="dataviewctrl" nmax="0"/>
    <childtype name="dataviewtreectrl" nmax="0"/>
    <childtype name="dataviewlistctrl" nmax="0"/>
    <childtype name="propgrid" nmax="0"/>
    <childtype name="propgridman" nmax="0"/>
  </objtype>

  <objtype name="wizard">
    <childtype name="wizardpagesimple"/>
    <childtype name="menu" nmax="1"/>
  </objtype>

  <objtype name="wizardpagesimple">
    <childtype name="sizer" nmax="1"/>
    <childtype name="gbsizer" nmax="1"/>
    <childtype name="menu" nmax="1"/>
  </objtype>

  <objtype name="menubar_form">
    <childtype name="menu"/>
  </objtype>

  <objtype name="toolbar_form">
    <childtype name="tool"/>
    <childtype name="widget"/>
    <childtype name="expanded_widget"/>
  </objtype>

  <objtype name="widget">
    <childtype name="menu" nmax="1" aui_nmax="1"/>
  </objtype>

  <objtype name="expanded_widget">
    <childtype name="menu" nmax="1" aui_nmax="1"/>
  </objtype>

  <objtype name="sizer">
    <childtype name="sizeritem"/>
  </objtype>

  <objtype name="gbsizer">
    <childtype name="gbsizeritem"/>
  </objtype>

  <objtype name="container">
    <childtype name="sizer" nmax="1" aui_nmax="1"/>
    <childtype name="gbsizer" nmax="1" aui_nmax="1"/>
    <childtype name="menu" nmax="1" aui_nmax="1"/>
  </objtype>

  <objtype name="sizeritem" item="1">
    <childtype name="widget" nmax="1" aui_nmax="1"/>
    <childtype name="expanded_widget" nmax="1" aui_nmax="1"/>
    <childtype name="container" nmax="1" aui_nmax="1"/>
    <childtype name="sizer" nmax="1" aui_nmax="1"/>
    <childtype name="gbsizer" nmax="1" aui_nmax="1"/>
    <childtype name="notebook" nmax="1" aui_nmax="1"/>
    <childtype name="flatnotebook" nmax="1" aui_nmax="1"/>
    <childtype name="listbook" nmax="1" aui_nmax="1"/>
    <childtype name="simplebook" nmax="1" aui_nmax="1"/>
    <childtype name="choicebook" nmax="1" aui_nmax="1"/>
    <childtype name="auinotebook" nmax="1" aui_nmax="1"/>
    <childtype name="splitter" nmax="1" aui_nmax="1"/>
    <childtype name="toolbar" nmax="1" aui_nmax="1"/>
    <childtype name="treelistctrl" nmax="1" aui_nmax="1"/>
    <childtype name="ribbonbar" nmax="1"/>
    <childtype name="dataviewctrl" nmax="1"/>
    <childtype name="dataviewlistctrl" nmax="1"/>
    <childtype name="dataviewtreectrl" nmax="1"/>
    <childtype name="propgrid" nmax="1"/>
    <childtype name="propgridman" nmax="1"/>
  </objtype>

  <objtype name="gbsizeritem" item="1">
    <childtype name="widget" nmax="1" aui_nmax="1"/>
    <childtype name="expanded_widget" nmax="1" aui_nmax="1"/>
    <childtype name="container" nmax="1" aui_nmax="1"/>
    <childtype name="sizer" nmax="1" aui_nmax="1"/>
    <childtype name="gbsizer" nmax="1" aui_nmax="1"/>
    <childtype name="notebook" nmax="1" aui_nmax="1"/>
    <childtype name="flatnotebook" nmax="1" aui_nmax="1"/>
    <childtype name="listbook" nmax="1" aui_nmax="1"/>
    <childtype name="choicebook" nmax="1" aui_nmax="1"/>
    <childtype name="simplebook" nmax="1" aui_nmax="1"/>
    <childtype name="auinotebook" nmax="1" aui_nmax="1"/>
    <childtype name="splitter" nmax="1" aui_nmax="1"/>
    <childtype name="toolbar" nmax="1" aui_nmax="1"/>
    <childtype name="treelistctrl" nmax="1" aui_nmax="1"/>
    <childtype name="ribbonbar" nmax="1"/>
    <childtype name="dataviewctrl" nmax="1"/>
    <childtype name="dataviewlistctrl" nmax="1"/>
    <childtype name="dataviewtreectrl" nmax="1"/>
    <childtype name="propgrid" nmax="1"/>
    <childtype name="propgridman" nmax="1"/>
  </objtype>

  <objtype name="splitter" >
    <childtype name="splitteritem" nmax="2" aui_nmax="2"/>
  </objtype>

  <objtype name="splitteritem" item="1">
    <childtype name="container" nmax="1" aui_nmax="1"/>
  </objtype>

  <objtype name="notebook" >
    <childtype name="notebookpage"/>
  </objtype>

  <objtype name="notebookpage" item="1">
    <childtype name="container" nmax="1" aui_nmax="1"/>
  </objtype>

  <objtype name="flatnotebook" >
    <childtype name="flatnotebookpage"/>
  </objtype>

  <objtype name="flatnotebookpage" item="1">
    <childtype name="container" nmax="1" aui_nmax="1"/>
  </objtype>

  <objtype name="listbook" >
    <childtype name="listbookpage"/>
  </objtype>

  <objtype name="listbookpage" item="1">
    <childtype name="container" nmax="1" aui_nmax="1"/>
  </objtype>

  <objtype name="choicebook" >
    <childtype name="choicebookpage"/>
  </objtype>

  <objtype name="choicebookpage" item="1">
    <childtype name="container" nmax="1" aui_nmax="1"/>
  </objtype>

  <objtype name="simplebook" >
    <childtype name="simplebookpage"/>
  </objtype>

  <objtype name="simplebookpage" item="1">
    <childtype name="container" nmax="1" aui_nmax="1"/>
  </objtype>

  <objtype name="auinotebook" >
    <childtype name="auinotebookpage"/>
  </objtype>

  <objtype name="auinotebookpage" item="1">
    <childtype name="container" nmax="1" aui_nmax="1"/>
  </objtype>

  <objtype name="menubar">
    <childtype name="menu"/>
  </objtype>

  <objtype name="menu">
    <childtype name="menuitem"/>
    <childtype name="submenu"/>
  </objtype>

  <objtype name="menuitem"/>

  <objtype name="submenu">
    <childtype name="menuitem"/>
    <childtype name="submenu"/>
  </objtype>

  <objtype name="ribbonbar">
    <childtype name="ribbonpage"/>
  </objtype>

  <objtype name="ribbonpage">
    <childtype name="ribbonpanel"/>
  </objtype>

  <objtype name="ribbonpanel" >
    <childtype name="ribbonbuttonbar" nmax="1"/>
    <childtype name="ribbontoolbar" nmax="1"/>
    <childtype name="ribbongallery" nmax="1"/>
  </objtype>

  <objtype name="ribbonbuttonbar">
    <childtype name="ribbonbutton"/>
    <childtype name="ribbondropdownbutton"/>
    <childtype name="ribbonhybridbutton"/>
    <childtype name="ribbontogglebutton"/>
  </objtype>

  <objtype name="ribbonbutton"/>

  <objtype name="ribbondropdownbutton"/>

  <objtype name="ribbonhybridbutton"/>

  <objtype name="ribbontogglebutton"/>

  <objtype name="ribbontoolbar">
    <childtype name="ribbontool"/>
    <childtype name="ribbondropdowntool"/>
    <childtype name="ribbonhybridtool"/>
    <childtype name="ribbontoggletool"/>
  </objtype>

  <objtype name="ribbontool"/>

  <objtype name="ribbondropdowntool"/>

  <objtype name="ribbonhybridtool"/>

  <objtype name="ribbontoggletool"/>

  <objtype name="ribbongallery">
    <childtype name="ribbongalleryitem"/>
  </objtype>

  <objtype name="ribbongalleryitem"/>

  <objtype name="statusbar"/>

  <objtype name="toolbar">
    <childtype name="tool"/>
    <childtype name="widget"/>
    <childtype name="expanded_widget"/>
  </objtype>

  <objtype name="tool">
    <childtype name="menu" nmax="1" aui_nmax="1"/>
  </objtype>

  <objtype name="treelistctrl" >
    <childtype name="treelistctrlcolumn"/>
    <childtype name="menu" nmax="1" aui_nmax="1"/>
  </objtype>

  <objtype name="treelistctrlcolumn"/>

  <objtype name="nonvisual"/>

  <objtype name="dataviewctrl">
    <childtype name="dataviewcolumn"/>
    <!-- <childtype name="menu" nmax="1" aui_nmax="1"/> -->
  </objtype>

  <objtype name="dataviewtreectrl">
  </objtype>

  <objtype name="dataviewlistctrl" >
    <childtype name="dataviewlistcolumn"/>
    <!-- <childtype name="menu" nmax="1" aui_nmax="1"/> -->
  </objtype>

  <objtype name="dataviewlistcolumn"/>

  <objtype name="dataviewcolumn"/>

  <objtype name="propgrid">
    <childtype name="menu" nmax="1" aui_nmax="1"/>
  </objtype>

  <objtype name="propgridman">
    <childtype name="menu" nmax="1" aui_nmax="1"/>
  </objtype>

  <objtype name="propgriditem"/>
  <objtype name="propgridpage"/>

  <objtype name="propgridman">
    <childtype name="propgridpage"/>
  </objtype>

  <objtype name="propgridpage">
    <childtype name="propgriditem"/>
  </objtype>

  <objtype name="propgrid">
    <childtype name="propgriditem"/>
  </objtype>

</definitions>