3 <schema id="org.gtk.test" path="/tests/" gettext-domain="test">
4 <key name="greeting" type="s">
5 <default l10n="messages">"Hello, earthlings"</default>
6 <summary>A greeting</summary>
8 Greeting of the invading martians
11 <key name="farewell" type="s">
12 <default l10n="messages">"So long"</default>
15 <child name='basic-types' schema='org.gtk.test.basic-types'/>
16 <child name='complex-types' schema='org.gtk.test.complex-types'/>
17 <child name='localized' schema='org.gtk.test.localized'/>
20 <schema id="org.gtk.test.no-path">
21 <key name="test-boolean" type="b">
22 <default>true</default>
26 <schema id="org.gtk.test.basic-types" path="/tests/basic-types/">
27 <key name="test-boolean" type="b">
28 <default>true</default>
30 <key name="test-byte" type="y">
33 <key name="test-int16" type="n">
34 <default>-1234</default>
36 <key name="test-uint16" type="q">
37 <default>1234</default>
39 <key name="test-int32" type="i">
40 <default>-123456</default>
42 <key name="test-uint32" type="u">
43 <default>123456</default>
45 <key name="test-int64" type="x">
46 <default>-123456789</default>
48 <key name="test-uint64" type="t">
49 <default>123456789</default>
51 <key name="test-double" type="d">
52 <default>123.456</default>
54 <key name="test-string" type="s">
55 <default>"a string, it seems"</default>
57 <key name="test-objectpath" type="o">
58 <default>"/a/object/path"</default>
62 <schema id="org.gtk.test.complex-types" path="/tests/complex-types/">
63 <key name="test-tuple" type="(s(ii))">
64 <default>("one",(2,3))</default>
66 <key name="test-array" type="ai">
67 <default>[0,1,2,3,4,5]</default>
71 <schema id="org.gtk.test.localized" path="/tests/localized/" gettext-domain="test">
72 <key name="error-message" type="s">
73 <default l10n="messages">"Unnamed"</default>
75 <key name="backspace" type="s">
76 <default l10n="messages" context="keyboard label">"BackSpace"</default>
80 <schema id="org.gtk.test.binding" path="/tests/binding/">
81 <key name="bool" type="b">
82 <default>false</default>
84 <key name="anti-bool" type="b">
85 <default>false</default>
87 <key name="byte" type="y">
90 <key name="int16" type="n">
93 <key name="uint16" type="q">
96 <key name="int" type="i">
99 <key name="uint" type="u">
102 <key name="int64" type="x">
105 <key name="uint64" type="t">
108 <key name="double" type="d">
111 <key name="string" type="s">
112 <default>""</default>
114 <key name="chararray" type="ay">
115 <default>[48, 49]</default>
117 <key name="strv" type="as">
118 <default>[]</default>
120 <key name="enum" enum="org.gtk.test.TestEnum">
121 <default>'foo'</default>
123 <key name="flags" flags="org.gtk.test.TestFlags">
124 <default>['mourning', 'laughing']</default>
128 <schema id='org.gtk.test.enums' path='/tests/enums/'>
129 <key name='test' enum='org.gtk.test.TestEnum'>
130 <default>'bar'</default>
132 <alias value='qux' target='quux'/>
135 <key name='f-test' flags='org.gtk.test.TestFlags'>
136 <default>[]</default>
138 <alias value='speaking' target='talking'/>
143 <schema id='org.gtk.test.enums.direct' path='/tests/enums/'>
144 <key name='f-test' type='as'>
145 <default>[]</default>
147 <key name='test' type='s'>
148 <default>'bar'</default>
152 <schema id='org.gtk.test.range' path='/tests/range/'>
153 <key name='val' type='i'>
154 <default>33</default>
155 <range min='2' max='44'/>
159 <schema id='org.gtk.test.range.direct' path='/tests/range/'>
160 <key name='val' type='i'>
161 <default>33</default>
165 <schema id='org.gtk.test.mapped' path='/tests/mapped/'>
166 <key name='val' type='i'>
171 <schema id="org.gtk.test.descriptions" path="/a/">
172 <key name='a' type='i'>
176 with some whitespace.
178 because not everyone has a great editor.
183 lots of space is as one.
189 <schema id='org.gtk.test.extends.base'>
190 <key name='int32' type='i'>
193 <key name='string' type='s'>
194 <default>''</default>
197 <schema id='org.gtk.test.extends.extended' extends='org.gtk.test.extends.base'>
198 <override name="int32">42</override>
199 <key name='another-int32' type='i'>