summaryrefslogtreecommitdiff
path: root/giscanner/gir/glib.xsd
blob: 22d3eea57fc06724defe3fa8ee997ba05ab68975 (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<?xml version="1.0" encoding="utf-8"?>
<xs:schema targetNamespace="http://www.gtk.org/introspection/glib/1.0"
           elementFormDefault="qualified"
           version="1.2"
           xmlns="http://www.w3.org/1999/xhtml"
           xmlns:xs="http://www.w3.org/2001/XMLSchema"
           xmlns:c="http://www.gtk.org/introspection/c/1.0"
           xmlns:glib="http://www.gtk.org/introspection/glib/1.0"
           xmlns:gi="http://www.gtk.org/introspection/core/1.0">

  <xs:import namespace="http://www.gtk.org/introspection/c/1.0"
             schemaLocation="c.xsd"/>
  <xs:import namespace="http://www.gtk.org/introspection/core/1.0"
             schemaLocation="gir.xsd"/>

  <!-- Attributes -->

  <xs:attribute name="error-domain" type="xs:string" />

  <xs:attribute name="fundamental" type="xs:string" />

  <xs:attribute name="get-type" type="xs:string" />

  <xs:attribute name="get-value-func" type="xs:string" />

  <xs:attribute name="is-gtype-struct-for" type="xs:string" />

  <xs:attribute name="name" type="xs:string" />

  <xs:attribute name="nick" type="xs:string" />

  <xs:attribute name="ref-func" type="xs:string" />

  <xs:attribute name="set-value-func" type="xs:string" />

  <xs:attribute name="type-name" type="xs:string" />

  <xs:attribute name="type-struct" type="xs:string" />

  <xs:attribute name="unref-func" type="xs:string" />

  <!-- Elements -->

  <xs:element name="boxed">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element ref="gi:constructor" minOccurs="0" maxOccurs="unbounded" />
        <xs:element ref="gi:method" minOccurs="0" maxOccurs="unbounded" />
        <xs:element ref="gi:function" minOccurs="0" maxOccurs="unbounded" />
      </xs:choice>

      <xs:attributeGroup ref="gi:generic-attributes" />
      <xs:attribute ref="glib:get-type" use="required" />
      <xs:attribute ref="glib:name" use="required" />
      <xs:attribute ref="glib:type-name" use="required" />
      <xs:attribute ref="c:symbol-prefix" use="optional">
        <xs:annotation>
          <xs:documentation>
            • giscanner/girwriter.py : generated
            • girepository/girparser.c: not parsed
          </xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>

  <xs:element name="signal">
    <xs:complexType>
      <xs:sequence>
        <xs:group ref="gi:generic-group" />
        <xs:element ref="gi:return-value" minOccurs="0" maxOccurs="1" />
        <xs:element ref="gi:parameters" minOccurs="0" maxOccurs="1" />
      </xs:sequence>

      <xs:attributeGroup ref="gi:generic-attributes" />
      <xs:attribute name="action" type="gi:boolean" />
      <xs:attribute name="detailed" type="gi:boolean" />
      <xs:attribute name="name" type="xs:string" use="required" />
      <xs:attribute name="no-hooks" type="xs:string" />
      <xs:attribute name="no-recurse" type="gi:boolean" />
      <xs:attribute name="version" type="xs:string" />
      <xs:attribute name="when" type="xs:string" use="optional" />
      <xs:attribute name="has-class-closure" type="gi:boolean">
        <xs:annotation>
          <xs:documentation>
            • giscanner/girwriter.py : not generated
            • girepository/girparser.c: parsed
          </xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>

</xs:schema>