File: extending.gschema.xml

package info (click to toggle)
glib2.0 2.85.1-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 66,344 kB
  • sloc: ansic: 541,342; python: 9,624; sh: 1,572; xml: 1,482; perl: 1,222; cpp: 535; makefile: 316; javascript: 11
file content (21 lines) | stat: -rw-r--r-- 674 bytes parent folder | download | duplicates (17)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<schemalist>
  <!-- c extends b extends a -->
  <schema id='a'/>
  <schema id='b' extends='a'/>
  <schema id='c' extends='b'/>

  <!-- lists of each -->
  <schema id='la' list-of='a'/>
  <schema id='lb' list-of='b'/>
  <schema id='lc' list-of='c'/>

  <!-- extend 'la', override the list-of to 'b' -->
  <schema id='lb-la' list-of='b' extends='la'/>

  <!-- extend 'la', override the list-of to 'c' -->
  <schema id='lc-la' list-of='c' extends='la'/>
  <!-- extend 'lb', override the list-of to 'c' -->
  <schema id='lc-lb' list-of='c' extends='lb'/>
  <!-- extend 'lb-la', override the list-of to 'c' -->
  <schema id='lc-lb-la' list-of='c' extends='lb-la'/>
</schemalist>