summaryrefslogtreecommitdiffstats
path: root/subprojects/libhandy/glade/glade-catalog.dtd
blob: c0d073e5fb99ba79f6ce3a1a58d46df2a50f95ea (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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
<!ELEMENT glade-catalog (init-function?,
                         glade-widget-classes?,
                         glade-widget-group*)>

<!ATTLIST glade-catalog name     CDATA #REQUIRED
                        version  CDATA #IMPLIED
                        targetable CDATA #IMPLIED
                        library  CDATA #IMPLIED
                        depends  CDATA #IMPLIED
                        domain   CDATA #IMPLIED
                        book     CDATA #IMPLIED
                        icon-prefix CDATA #IMPLIED
                        requires CDATA #IMPLIED>

<!ELEMENT glade-widget-classes (glade-widget-class+)>

<!ELEMENT glade-widget-class (post-create-function?,
                              add-child-verify-function?,
                              add-child-function?,
                              remove-child-function?,
                              replace-child-function?,
                              get-children-function?,
                              get-internal-child-function?,
                              child-property-applies-function?,
                              child-action-activate-function?,
                              read-widget-function?,
                              write-widget-function?,
                              get-property-function?,
                              set-property-function?,
                              child-set-property-function?,
                              child-get-property-function?,
                              action-activate-function?,
                              verify-function?,
                              special-child-type?,
                              packing-properties?,
                              packing-actions?,
                              properties?,
                              children?,
                              packing-defaults?,
                              actions?)>

<!ATTLIST glade-widget-class toplevel     CDATA #IMPLIED
                             since        CDATA #IMPLIED
                             deprecated   CDATA #IMPLIED
                             use-placeholders CDATA #IMPLIED
                             default-width CDATA #IMPLIED
                             default-height CDATA #IMPLIED
                             name         CDATA #REQUIRED
                             generic-name CDATA #IMPLIED
                             icon-name    CDATA #IMPLIED
                             title        CDATA #REQUIRED
                             parent       CDATA #IMPLIED
                             get-type-function CDATA #IMPLIED
                             adaptor      CDATA #IMPLIED>

<!ELEMENT properties (property+)>

<!ELEMENT property (spec?, 
                    type?,
                    parameter-spec?,
                    tooltip?,
                    parameters?,
                    set-function?,
                    get-function?,
                    verify-function?,
                    displayable-values?)>

<!ATTLIST property id               CDATA #REQUIRED
                   since            CDATA #IMPLIED
                   deprecated       CDATA #IMPLIED
                   create-type      CDATA #IMPLIED
                   name             CDATA #IMPLIED
                   tooltip          CDATA #IMPLIED
                   themed-icon      CDATA #IMPLIED
                   stock            CDATA #IMPLIED
                   stock-icon       CDATA #IMPLIED
                   weight           CDATA #IMPLIED
                   transfer-on-paste CDATA #IMPLIED
                   save-always      CDATA #IMPLIED
                   parentless-widget CDATA #IMPLIED
                   atk-property     CDATA #IMPLIED
                   default          CDATA #IMPLIED
                   query            CDATA #IMPLIED
                   save             CDATA #IMPLIED
                   common           CDATA #IMPLIED
                   disabled         CDATA #IMPLIED
                   visible          CDATA #IMPLIED
                   custom-layout    CDATA #IMPLIED
                   multiline        CDATA #IMPLIED
                   optional         CDATA #IMPLIED
                   optional-default CDATA #IMPLIED
                   ignore           CDATA #IMPLIED
                   needs-sync       CDATA #IMPLIED
                   construct-only   CDATA #IMPLIED
                   translatable     CDATA #IMPLIED>

<!ELEMENT parameter-spec (type?, 
                          value-type?,
                          min?)>
<!ELEMENT value-type (#PCDATA)>
<!ELEMENT min (#PCDATA)>
<!ELEMENT set-function (#PCDATA)>
<!ELEMENT get-function (#PCDATA)>
<!ELEMENT spec (#PCDATA)>
<!ELEMENT tooltip (#PCDATA)>
<!ELEMENT verify-function (#PCDATA)>

<!ELEMENT displayable-values (value+)>

<!ELEMENT value EMPTY>

<!ATTLIST value id CDATA #REQUIRED
                name CDATA #REQUIRED>

<!ELEMENT parameters (parameter+)>

<!ELEMENT parameter EMPTY>

<!ATTLIST parameter key   CDATA #REQUIRED
                    value CDATA #REQUIRED>

<!ELEMENT children (child+)>

<!ELEMENT child (type, 
                 add-child-function?,
                 remove-child-function?,
                 get-children-function?,
                 get-all-children-function?,
                 set-property-function?,
                 get-property-function?,
                 replace-child-function?,
                 fill-empty-function?,
                 properties?)>

<!ELEMENT type (#PCDATA)>
<!ELEMENT add-child-verify-function (#PCDATA)>
<!ELEMENT add-child-function (#PCDATA)>
<!ELEMENT remove-child-function (#PCDATA)>
<!ELEMENT get-children-function (#PCDATA)>
<!ELEMENT get-all-children-function (#PCDATA)>
<!ELEMENT set-prop-function (#PCDATA)>
<!ELEMENT get-prop-function (#PCDATA)>
<!ELEMENT fill-empty-function (#PCDATA)>
<!ELEMENT replace-child-function (#PCDATA)>
<!ELEMENT child-set-property-function (#PCDATA)>
<!ELEMENT child-get-property-function (#PCDATA)>
<!ELEMENT action-activate-function (#PCDATA)>

<!ELEMENT post-create-function (#PCDATA)>
<!ELEMENT get-internal-child-function (#PCDATA)>
<!ELEMENT child-property-applies-function (#PCDATA)>

<!ELEMENT child-action-activate-function (#PCDATA)>

<!ELEMENT read-widget-function (#PCDATA)>
<!ELEMENT write-widget-function (#PCDATA)>
<!ELEMENT get-property-function (#PCDATA)>
<!ELEMENT set-property-function (#PCDATA)>

<!ELEMENT glade-widget-group (default-palette-state?, 
                              glade-widget-class-ref+)>

<!ATTLIST glade-widget-group name  CDATA #REQUIRED
                             title CDATA #REQUIRED>

<!ELEMENT default-palette-state EMPTY>
<!ATTLIST default-palette-state expanded CDATA #IMPLIED>

<!ELEMENT glade-widget-class-ref EMPTY>
<!ATTLIST glade-widget-class-ref name CDATA #REQUIRED>

<!ELEMENT packing-defaults (parent-class+)>

<!ELEMENT parent-class (child-property+)>
<!ATTLIST parent-class name CDATA #REQUIRED>

<!ELEMENT child-property EMPTY>
<!ATTLIST child-property id      CDATA #REQUIRED
                         default CDATA #REQUIRED>

<!ELEMENT special-child-type (#PCDATA)>

<!ELEMENT packing-properties (property+)>

<!ELEMENT packing-actions (action+)>

<!ELEMENT actions (action+)>

<!ELEMENT action EMPTY>

<!ATTLIST action id        CDATA #REQUIRED
                 name      CDATA #REQUIRED
                 stock     CDATA #IMPLIED
                 important CDATA #IMPLIED>

<!ELEMENT init-function (#PCDATA)>