File: org.gnome.test.gschema.xml

package info (click to toggle)
pygobject 3.22.0-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 5,492 kB
  • ctags: 5,045
  • sloc: ansic: 20,987; python: 15,991; sh: 4,659; makefile: 569; xml: 31
file content (34 lines) | stat: -rw-r--r-- 844 bytes parent folder | download | duplicates (2)
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
<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>
    </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>