| 1 |
<schemalist> |
| 2 |
<!-- from the GSettings docs. Should work, I guess :) --> |
| 3 |
|
| 4 |
<enum id="myenum"> |
| 5 |
<value nick="first" value="1"/> |
| 6 |
<value nick="second" value="2"/> |
| 7 |
</enum> |
| 8 |
|
| 9 |
<schema id="org.gtk.test"> |
| 10 |
|
| 11 |
<key name="key-with-range" type="i"> |
| 12 |
<range min="1" max="100"/> |
| 13 |
<default>10</default> |
| 14 |
</key> |
| 15 |
|
| 16 |
<key name="key-with-choices" type="s"> |
| 17 |
<choices> |
| 18 |
<choice value='Elisabeth'/> |
| 19 |
<choice value='Annabeth'/> |
| 20 |
<choice value='Joe'/> |
| 21 |
</choices> |
| 22 |
<aliases> |
| 23 |
<alias value='Anna' target='Annabeth'/> |
| 24 |
<alias value='Beth' target='Elisabeth'/> |
| 25 |
</aliases> |
| 26 |
<default>'Joe'</default> |
| 27 |
</key> |
| 28 |
|
| 29 |
<key name='enumerated-key' enum='myenum'> |
| 30 |
<default>'first'</default> |
| 31 |
</key> |
| 32 |
|
| 33 |
</schema> |
| 34 |
</schemalist> |