File: override.gschema.xml

package info (click to toggle)
gobject-introspection 1.74.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 68,092 kB
  • sloc: ansic: 524,161; xml: 32,098; python: 21,234; yacc: 1,707; perl: 1,411; sh: 1,044; lex: 499; cpp: 171; makefile: 77; lisp: 1
file content (34 lines) | stat: -rw-r--r-- 754 bytes parent folder | download | duplicates (20)
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>
  <schema id='base'>
    <key name='foo' type='s'>
      <default>'bar'</default>
    </key>

    <key name='ranged' type='i'>
      <range min='0' max='22'/>
      <default>10</default>
    </key>

    <key name='choice' type='s'>
      <choices>
        <choice value='a'/>
        <choice value='aaa'/>
        <choice value='aaaaa'/>
      </choices>
      <default>'aaaaa'</default>
    </key>
  </schema>

  <schema id='sub' extends='base'>
  </schema>

  <schema id='sub2' extends='base'>
    <override name='foo'>'baz'</override>
    <override name='ranged'>0</override>
    <override name='choice'>'aaa'</override>
  </schema>

  <schema id='sub3' extends='sub2'>
    <override name='foo'>'foo'</override>
  </schema>
</schemalist>