gui: widget-io: Fix cleanup code in widget_printf(), widget_scanf().
[pspp-builds.git] / glade / psppire.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <glade-catalog name="psppire" library="glade-psppire">
3
4   <glade-widget-classes>
5
6     <glade-widget-class name="PsppireDialog" 
7                         generic-name="psppire-dialog" 
8                         toplevel="True" 
9                         default-width="320"
10                         default-height="260"
11                         title="Dialog Box">
12
13      <post-create-function>glade_psppire_dialog_post_create</post-create-function>
14      <get-internal-child-function>glade_psppire_dialog_get_internal_child</get-internal-child-function>
15
16      <get-children-function>glade_psppire_dialog_get_children</get-children-function>
17
18
19      <properties>
20         <property id="accept-focus"         disabled="True" />
21         <property id="allow-grow"           disabled="True" />
22         <property id="allow-shrink"         disabled="True" />
23         <property id="decorated"            disabled="True" />
24         <property id="default-height"       disabled="True" />
25         <property id="default-width"        disabled="True" />
26         <property id="deletable"            disabled="True" />
27         <property id="destroy-with-parent"  disabled="True" />
28         <property id="focus-on-map"         disabled="True" />
29         <property id="gravity"              disabled="True" />
30         <property id="has-toplevel-focus"   disabled="True" />
31         <property id="icon"                 disabled="True" />
32         <property id="icon-name"            disabled="True" />
33         <property id="is-active"            disabled="True" />
34
35         <property id="resizable"            disabled="True" />
36         <property id="role"                 disabled="True" />
37         <property id="screen"               disabled="True" />
38         <property id="skip-pager-hint"      disabled="True" />
39         <property id="skip-taskbar-hint"    disabled="True" />
40         <property id="transient-for"        disabled="True" />
41         <property id="type"                 disabled="True" />
42         <property id="type-hint"            disabled="True" />
43         <property id="urgency-hint"         disabled="True" />
44         <property id="window-position"      disabled="True" />
45
46         <property id="child"                disabled="True" />
47         <property id="resize-mode"          disabled="True" />
48         <property id="border-width"         disabled="True" />
49
50
51         <property id="modal" ignore="True" default="True" />
52         <property id="visible" ignore="True" default="False" />
53     </properties>
54
55     </glade-widget-class>
56
57
58     <glade-widget-class name="PsppireVButtonBox" generic-name="psppire-vbuttonbox" title="Vertical Button Box">
59
60       <post-create-function>glade_psppire_button_box_post_create</post-create-function>
61       <get-children-function>glade_psppire_button_box_get_children</get-children-function>
62
63       <get-internal-child-function>glade_psppire_button_box_get_internal_child</get-internal-child-function>
64
65     <properties>
66       <property id="child"  disabled="True" />
67       <property id="visible" ignore="True" default="True" />
68
69       <property id="buttons">
70           <displayable-values>
71             <value id="PSPPIRE_BUTTON_OK_MASK"     name="OK"></value>
72             <value id="PSPPIRE_BUTTON_CANCEL_MASK" name="Cancel"></value>
73             <value id="PSPPIRE_BUTTON_HELP_MASK"   name="Help"></value>
74             <value id="PSPPIRE_BUTTON_RESET_MASK"  name="Reset"></value>
75             <value id="PSPPIRE_BUTTON_PASTE_MASK"  name="Paste"></value>
76           </displayable-values>
77       </property>
78
79     </properties>
80
81     <packing-defaults>
82       <parent-class name="GtkHBox">
83        <child-property id="expand" default="False"/>
84        <child-property id="fill" default="False"/>
85        <child-property id="pack-type" default="GTK_PACK_END"/>
86       </parent-class>
87     </packing-defaults>
88
89     </glade-widget-class>
90
91     <glade-widget-class name="PsppireHButtonBox" generic-name="psppire-hbuttonbox" title="Horizontal Button Box">
92
93       <post-create-function>glade_psppire_button_box_post_create</post-create-function>
94       <get-children-function>glade_psppire_button_box_get_children</get-children-function>
95
96       <get-internal-child-function>glade_psppire_button_box_get_internal_child</get-internal-child-function>
97
98     <properties>
99       <property id="child"                disabled="True" />
100
101       <property id="visible" ignore="True" default="True" />
102     </properties>
103
104
105     <packing-defaults>
106       <parent-class name="GtkVBox">
107        <child-property id="expand" default="False"/>
108        <child-property id="fill" default="False"/>
109        <child-property id="pack-type" default="GTK_PACK_END"/>
110       </parent-class>
111     </packing-defaults>
112
113     </glade-widget-class>
114
115
116
117     <glade-widget-class name="PsppireKeypad" 
118                         get-type-function="psppire_keypad_get_type" 
119                         generic-name="psppire-keypad" 
120                         fixed="True"
121                         title="Keypad">
122
123
124      <properties>
125         <property id="child"       disabled="True"/>
126         <property id="homogeneous" disabled="True"/>
127         <property id="n-columns"   disabled="True"/>
128         <property id="n-rows"      disabled="True"/>
129
130         <property id="above-child"    disabled="True"/>
131         <property id="visible-window" disabled="True"/>
132         <property id="resize-mode"    disabled="True"/>
133         <property id="border-width"   disabled="True"/>
134
135         <property id="visible" ignore="True" default="True" />
136      </properties>
137   
138     </glade-widget-class>
139
140
141     <glade-widget-class name="PsppireSelector" generic-name="psppire-selector" title="Selector Button">
142
143       <post-create-function>glade_psppire_selector_post_create</post-create-function>
144       <get-children-function>glade_psppire_selector_get_children</get-children-function>
145
146       <get-internal-child-function>glade_psppire_selector_get_internal_child</get-internal-child-function>
147
148
149      <properties>
150         <property id="child"           disabled="True"/>
151         <property id="label"           disabled="True"/>
152         <property id="focus-on-click"  disabled="True"/>
153         <property id="image"           disabled="True"/>
154         <property id="image-position"  disabled="True"/>
155         <property id="label"           disabled="True"/>
156         <property id="relief"          disabled="True"/>
157         <property id="use-stock"       disabled="True"/>
158         <property id="use-underline"   disabled="True"/>
159         <property id="xalign"          disabled="True"/>
160         <property id="yalign"          disabled="True"/>
161         <property id="resize-mode"     disabled="True"/>
162
163         <property id="orientation">
164           <displayable-values>
165             <value id="PSPPIRE_SOURCE_BEFORE_DEST" 
166                name="Source Before Destination"></value>
167             <value id="PSPPIRE_AFTER_BEFORE_DEST"  
168                name="Source After Destination"></value>
169             <value id="PSPPIRE_ABOVE_BEFORE_DEST"  
170                name="Source Above Destination"></value>
171             <value id="PSPPIRE_BELOW_BEFORE_DEST"  
172                name="Source Below Destination"></value>
173           </displayable-values>
174         </property>
175
176         <property id="source-widget"     ignore="True" />
177         <property id="dest-widget"       ignore="True" />
178         <property id="visible"           ignore="True" default="True" />
179         <property id="primary"           default="False" />
180      </properties>
181
182     </glade-widget-class>
183
184
185
186     <glade-widget-class name="PsppireAcr" generic-name="psppire-acr" title="Add-Change-Remove">
187
188       <post-create-function>glade_psppire_acr_post_create</post-create-function>
189       <get-children-function>glade_psppire_acr_get_children</get-children-function>
190
191       <get-internal-child-function>glade_psppire_acr_get_internal_child</get-internal-child-function>
192
193
194     <properties>
195       <property id="child"                disabled="True" />
196       <property id="homogeneous"          disabled="True" />
197       <property id="visible" ignore="True" default="True" />
198     </properties>
199
200     </glade-widget-class>
201
202
203
204     <glade-widget-class name="PsppireDictView" generic-name="psppire-dictview" title="Dictionary Treeview">
205
206       <post-create-function>glade_psppire_dictview_post_create</post-create-function>
207       <get-children-function>glade_psppire_dictview_get_children</get-children-function>
208       <get-internal-child-function>glade_psppire_dictview_get_internal_child</get-internal-child-function>
209
210
211     <properties>
212       <property id="child"                disabled="True" />
213       <property id="homogeneous"          disabled="True" />
214       <property id="visible" ignore="True" default="True" />
215       <property id="model"                visible="False"  query="False" />
216     </properties>
217
218     </glade-widget-class>
219
220
221     <glade-widget-class name="PsppireVarView" generic-name="psppire-var-view" title="Variable Treeview">
222
223       <post-create-function>glade_psppire_var_view_post_create</post-create-function>
224       <get-children-function>glade_psppire_var_view_get_children</get-children-function>
225       <get-internal-child-function>glade_psppire_var_view_get_internal_child</get-internal-child-function>
226
227
228     <properties>
229       <property id="child"                disabled="True" />
230       <property id="homogeneous"          disabled="True" />
231       <property id="visible" ignore="True" default="True" />
232       <property id="model"                visible="False"  query="False" disabled="True" />
233       <property id="n-cols"    ignore="True" />
234
235     </properties>
236
237     </glade-widget-class>
238
239
240   </glade-widget-classes>
241
242  
243
244  <glade-widget-group name="psppire" title="Psppire">
245   <glade-widget-class-ref name="PsppireDialog"/>
246   <glade-widget-class-ref name="PsppireHButtonBox"/>
247   <glade-widget-class-ref name="PsppireVButtonBox"/>
248   <glade-widget-class-ref name="PsppireDictView"/>
249   <glade-widget-class-ref name="PsppireVarView"/>
250   <glade-widget-class-ref name="PsppireSelector"/>
251   <glade-widget-class-ref name="PsppireKeypad"/>
252   <glade-widget-class-ref name="PsppireAcr"/>
253  </glade-widget-group>
254
255
256 </glade-catalog>