summaryrefslogtreecommitdiff
path: root/tests/org.gnome.test.gschema.xml
blob: 0c1e5c4af0d2c17ce3da16f003630dad725b6665 (plain)
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
<schemalist>
    <enum id="org.gnome.test.FruitType">
        <value nick="banana" value="0"/>
        <value nick="apple" value="1"/>
        <value nick="pear" value="2"/>
    </enum>

    <schema id="org.gnome.test" path="/tests/">
	<key name="test-boolean" type="b">
	    <default>true</default>
	</key>
	<key name="test-string" type="s">
	    <default>"Hello"</default>
	</key>
       <key name="test-tuple" type="(ii)">
	   <default>(1,2)</default>
	</key>
	<key name="test-array" type="ai">
	    <default>[1,2]</default>
	</key>
	<key name="test-enum" enum="org.gnome.test.FruitType">
	    <default>'banana'</default>
	</key>
	<key name="test-range" type="i">
	    <range min="7" max="65535"/>
	    <default>123</default>
	</key>
    </schema>

    <schema id="org.gnome.nopathtest">
	<key name="np-int" type="i">
	    <default>42</default>
	</key>
    </schema>

    <schema id="org.gnome.empty" path="/tests/">
    </schema>
</schemalist>