[kdbus] sync with kdbus (kdbus.h - commit: b024fb43c66b)
[platform/upstream/glib.git] / gio / tests / org.gtk.test.gschema.xml.orig
1 <schemalist>
2
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>
7       <description>
8          Greeting of the invading martians
9       </description>
10     </key>
11     <key name="farewell" type="s">
12       <default l10n="messages">"So long"</default>
13     </key>
14
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'/>
18   </schema>
19
20   <schema id="org.gtk.test.no-path">
21     <key name="test-boolean" type="b">
22       <default>true</default>
23     </key>
24   </schema>
25
26   <schema id="org.gtk.test.basic-types" path="/tests/basic-types/">
27     <key name="test-boolean" type="b">
28       <default>true</default>
29     </key>
30     <key name="test-byte" type="y">
31       <default>25</default>
32     </key>
33     <key name="test-int16" type="n">
34       <default>-1234</default>
35     </key>
36     <key name="test-uint16" type="q">
37       <default>1234</default>
38     </key>
39     <key name="test-int32" type="i">
40       <default>-123456</default>
41     </key>
42     <key name="test-uint32" type="u">
43       <default>123456</default>
44     </key>
45     <key name="test-int64" type="x">
46       <default>-123456789</default>
47     </key>
48     <key name="test-uint64" type="t">
49       <default>123456789</default>
50     </key>
51     <key name="test-double" type="d">
52       <default>123.456</default>
53     </key>
54     <key name="test-string" type="s">
55       <default>"a string, it seems"</default>
56     </key>
57     <key name="test-objectpath" type="o">
58       <default>"/a/object/path"</default>
59     </key>
60   </schema>
61
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>
65     </key>
66     <key name="test-array" type="ai">
67       <default>[0,1,2,3,4,5]</default>
68     </key>
69   </schema>
70
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>
74     </key>
75     <key name="backspace" type="s">
76       <default l10n="messages" context="keyboard label">"BackSpace"</default>
77     </key>
78   </schema>
79
80   <schema id="org.gtk.test.binding" path="/tests/binding/">
81     <key name="bool" type="b">
82       <default>false</default>
83     </key>
84     <key name="anti-bool" type="b">
85       <default>false</default>
86     </key>
87     <key name="byte" type="y">
88       <default>0</default>
89     </key>
90     <key name="int16" type="n">
91       <default>0</default>
92     </key>
93     <key name="uint16" type="q">
94       <default>0</default>
95     </key>
96     <key name="int" type="i">
97       <default>0</default>
98     </key>
99     <key name="uint" type="u">
100       <default>0</default>
101     </key>
102     <key name="int64" type="x">
103       <default>0</default>
104     </key>
105     <key name="uint64" type="t">
106       <default>0</default>
107     </key>
108     <key name="double" type="d">
109       <default>0</default>
110     </key>
111     <key name="string" type="s">
112       <default>""</default>
113     </key>
114     <key name="chararray" type="ay">
115       <default>[48, 49]</default>
116     </key>
117     <key name="strv" type="as">
118       <default>[]</default>
119     </key>
120     <key name="enum" enum="org.gtk.test.TestEnum">
121       <default>'foo'</default>
122     </key>
123     <key name="flags" flags="org.gtk.test.TestFlags">
124       <default>['mourning', 'laughing']</default>
125     </key>
126   </schema>
127
128   <schema id='org.gtk.test.enums' path='/tests/enums/'>
129     <key name='test' enum='org.gtk.test.TestEnum'>
130       <default>'bar'</default>
131       <aliases>
132         <alias value='qux' target='quux'/>
133       </aliases>
134     </key>
135     <key name='f-test' flags='org.gtk.test.TestFlags'>
136       <default>[]</default>
137       <aliases>
138         <alias value='speaking' target='talking'/>
139       </aliases>
140     </key>
141   </schema>
142
143   <schema id='org.gtk.test.enums.direct' path='/tests/enums/'>
144     <key name='f-test' type='as'>
145       <default>[]</default>
146     </key>
147     <key name='test' type='s'>
148       <default>'bar'</default>
149     </key>
150   </schema>
151
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'/>
156     </key>
157   </schema>
158
159   <schema id='org.gtk.test.range.direct' path='/tests/range/'>
160     <key name='val' type='i'>
161       <default>33</default>
162     </key>
163   </schema>
164
165   <schema id='org.gtk.test.mapped' path='/tests/mapped/'>
166     <key name='val' type='i'>
167       <default>0</default>
168     </key>
169   </schema>
170
171   <schema id="org.gtk.test.descriptions" path="/a/">
172     <key name='a' type='i'>
173       <summary>
174         a paragraph.
175
176         with some whitespace.
177          
178         because not everyone has a great editor.
179
180           
181
182
183         lots of space is            as one.    
184       </summary>
185       <default>0</default>
186     </key>
187   </schema>
188
189   <schema id='org.gtk.test.extends.base'>
190     <key name='int32' type='i'>
191       <default>0</default>
192     </key>
193     <key name='string' type='s'>
194       <default>''</default>
195     </key>
196   </schema>
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'>
200       <default>0</default>
201     </key>
202   </schema>
203
204 </schemalist>