gui: Factor out duplicated code for executing and pasting syntax.
[pspp] / src / ui / gui / oneway.ui
1 <?xml version="1.0"?>
2 <interface>
3   <!-- interface-requires gtk+ 2.12 -->
4   <requires lib="psppire" version="2054.17080"/>
5   <!-- interface-naming-policy project-wide -->
6   <object class="PsppireDialog" id="oneway-anova-dialog">
7     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
8     <property name="title" translatable="yes">One-Way ANOVA</property>
9     <property name="modal">True</property>
10     <child internal-child="hbox">
11       <object class="GtkHBox" id="dialog-hbox15">
12         <property name="visible">True</property>
13         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
14         <property name="spacing">2</property>
15         <child>
16           <object class="GtkTable" id="table4">
17             <property name="visible">True</property>
18             <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
19             <property name="n_rows">3</property>
20             <property name="n_columns">3</property>
21             <child>
22               <object class="GtkVBox" id="vbox30">
23                 <property name="visible">True</property>
24                 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
25                 <property name="orientation">vertical</property>
26                 <child>
27                   <object class="GtkLabel" id="label36">
28                     <property name="visible">True</property>
29                     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
30                     <property name="xalign">0</property>
31                     <property name="label" translatable="yes">_Factor:</property>
32                     <property name="use_underline">True</property>
33                   </object>
34                   <packing>
35                     <property name="expand">False</property>
36                     <property name="fill">False</property>
37                     <property name="position">0</property>
38                   </packing>
39                 </child>
40                 <child>
41                   <object class="GtkEntry" id="oneway-anova-entry">
42                     <property name="visible">True</property>
43                     <property name="can_focus">True</property>
44                     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
45                   </object>
46                   <packing>
47                     <property name="position">1</property>
48                   </packing>
49                 </child>
50               </object>
51               <packing>
52                 <property name="left_attach">2</property>
53                 <property name="right_attach">3</property>
54                 <property name="top_attach">1</property>
55                 <property name="bottom_attach">2</property>
56                 <property name="y_options"></property>
57               </packing>
58             </child>
59             <child>
60               <object class="GtkVBox" id="vbox29">
61                 <property name="visible">True</property>
62                 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
63                 <property name="orientation">vertical</property>
64                 <child>
65                   <object class="GtkLabel" id="label35">
66                     <property name="visible">True</property>
67                     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
68                     <property name="xalign">0</property>
69                     <property name="label" translatable="yes">Dependent _Variable(s):</property>
70                     <property name="use_underline">True</property>
71                   </object>
72                   <packing>
73                     <property name="expand">False</property>
74                     <property name="fill">False</property>
75                     <property name="position">0</property>
76                   </packing>
77                 </child>
78                 <child>
79                   <object class="GtkScrolledWindow" id="scrolledwindow15">
80                     <property name="visible">True</property>
81                     <property name="can_focus">True</property>
82                     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
83                     <property name="hscrollbar_policy">automatic</property>
84                     <property name="vscrollbar_policy">automatic</property>
85                     <property name="shadow_type">etched-in</property>
86                     <child>
87                       <object class="PsppireVarView" id="oneway-anova-treeview2">
88                         <property name="visible">True</property>
89                         <property name="can_focus">True</property>
90                         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
91                         <property name="headers_visible">False</property>
92                       </object>
93                     </child>
94                   </object>
95                   <packing>
96                     <property name="position">1</property>
97                   </packing>
98                 </child>
99               </object>
100               <packing>
101                 <property name="left_attach">2</property>
102                 <property name="right_attach">3</property>
103               </packing>
104             </child>
105             <child>
106               <object class="PsppireSelector" id="oneway-anova-selector2">
107                 <property name="visible">True</property>
108                 <property name="can_focus">True</property>
109                 <property name="receives_default">True</property>
110                 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
111                 <property name="border_width">5</property>
112                 <property name="source_widget">oneway-anova-treeview1</property>
113                 <property name="dest_widget">oneway-anova-entry</property>
114               </object>
115               <packing>
116                 <property name="left_attach">1</property>
117                 <property name="right_attach">2</property>
118                 <property name="top_attach">1</property>
119                 <property name="bottom_attach">2</property>
120                 <property name="x_options"></property>
121                 <property name="y_options"></property>
122               </packing>
123             </child>
124             <child>
125               <object class="PsppireSelector" id="oneway-anova-selector1">
126                 <property name="visible">True</property>
127                 <property name="can_focus">True</property>
128                 <property name="receives_default">True</property>
129                 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
130                 <property name="border_width">5</property>
131                 <property name="primary">True</property>
132                 <property name="source_widget">oneway-anova-treeview1</property>
133                 <property name="dest_widget">oneway-anova-treeview2</property>
134               </object>
135               <packing>
136                 <property name="left_attach">1</property>
137                 <property name="right_attach">2</property>
138                 <property name="x_options"></property>
139                 <property name="y_options">GTK_EXPAND</property>
140               </packing>
141             </child>
142             <child>
143               <object class="GtkScrolledWindow" id="scrolledwindow2">
144                 <property name="visible">True</property>
145                 <property name="can_focus">True</property>
146                 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
147                 <property name="hscrollbar_policy">never</property>
148                 <property name="vscrollbar_policy">automatic</property>
149                 <property name="shadow_type">etched-in</property>
150                 <child>
151                   <object class="PsppireDictView" id="oneway-anova-treeview1">
152                     <property name="visible">True</property>
153                     <property name="can_focus">True</property>
154                     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
155                     <property name="headers_visible">False</property>
156                   </object>
157                 </child>
158               </object>
159               <packing>
160                 <property name="bottom_attach">3</property>
161               </packing>
162             </child>
163             <child>
164               <object class="GtkHBox" id="hbox2">
165                 <property name="visible">True</property>
166                 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
167                 <property name="spacing">5</property>
168                 <child>
169                   <object class="GtkFrame" id="frame2">
170                     <property name="visible">True</property>
171                     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
172                     <property name="label_xalign">0</property>
173                     <child>
174                       <object class="GtkAlignment" id="alignment2">
175                         <property name="visible">True</property>
176                         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
177                         <property name="left_padding">12</property>
178                         <child>
179                           <object class="GtkVButtonBox" id="vbuttonbox1">
180                             <property name="visible">True</property>
181                             <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
182                             <child>
183                               <object class="GtkCheckButton" id="checkbutton1">
184                                 <property name="label" translatable="yes">_Descriptives</property>
185                                 <property name="visible">True</property>
186                                 <property name="can_focus">True</property>
187                                 <property name="receives_default">False</property>
188                                 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
189                                 <property name="use_underline">True</property>
190                                 <property name="draw_indicator">True</property>
191                               </object>
192                               <packing>
193                                 <property name="expand">False</property>
194                                 <property name="fill">False</property>
195                                 <property name="position">0</property>
196                               </packing>
197                             </child>
198                             <child>
199                               <object class="GtkCheckButton" id="checkbutton2">
200                                 <property name="label" translatable="yes">_Homogeneity</property>
201                                 <property name="visible">True</property>
202                                 <property name="can_focus">True</property>
203                                 <property name="receives_default">False</property>
204                                 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
205                                 <property name="use_underline">True</property>
206                                 <property name="draw_indicator">True</property>
207                               </object>
208                               <packing>
209                                 <property name="expand">False</property>
210                                 <property name="fill">False</property>
211                                 <property name="position">1</property>
212                               </packing>
213                             </child>
214                           </object>
215                         </child>
216                       </object>
217                     </child>
218                     <child type="label">
219                       <object class="GtkLabel" id="label1">
220                         <property name="visible">True</property>
221                         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
222                         <property name="label" translatable="yes">Statistics</property>
223                         <property name="use_markup">True</property>
224                       </object>
225                     </child>
226                   </object>
227                   <packing>
228                     <property name="position">0</property>
229                   </packing>
230                 </child>
231                 <child>
232                   <object class="GtkVButtonBox" id="vbuttonbox2">
233                     <property name="visible">True</property>
234                     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
235                     <property name="orientation">vertical</property>
236                     <child>
237                       <object class="GtkButton" id="contrasts-button">
238                         <property name="label" translatable="yes">_Contrasts...</property>
239                         <property name="visible">True</property>
240                         <property name="can_focus">True</property>
241                         <property name="receives_default">True</property>
242                         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
243                         <property name="use_underline">True</property>
244                       </object>
245                       <packing>
246                         <property name="expand">False</property>
247                         <property name="fill">False</property>
248                         <property name="position">0</property>
249                       </packing>
250                     </child>
251                   </object>
252                   <packing>
253                     <property name="expand">False</property>
254                     <property name="fill">False</property>
255                     <property name="position">1</property>
256                   </packing>
257                 </child>
258               </object>
259               <packing>
260                 <property name="left_attach">1</property>
261                 <property name="right_attach">3</property>
262                 <property name="top_attach">2</property>
263                 <property name="bottom_attach">3</property>
264                 <property name="y_options"></property>
265                 <property name="x_padding">5</property>
266                 <property name="y_padding">5</property>
267               </packing>
268             </child>
269           </object>
270           <packing>
271             <property name="position">0</property>
272           </packing>
273         </child>
274         <child>
275           <object class="PsppireVButtonBox" id="psppire-vbuttonbox2">
276             <property name="visible">True</property>
277             <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
278             <property name="border_width">5</property>
279           </object>
280           <packing>
281             <property name="expand">False</property>
282             <property name="fill">False</property>
283             <property name="pack_type">end</property>
284             <property name="position">1</property>
285           </packing>
286         </child>
287       </object>
288     </child>
289   </object>
290   <object class="PsppireDialog" id="contrasts-dialog">
291     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
292     <property name="title" translatable="yes">One-Way ANOVA: Contrasts</property>
293     <property name="modal">True</property>
294     <child internal-child="hbox">
295       <object class="GtkHBox" id="dialog-hbox2">
296         <property name="visible">True</property>
297         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
298         <child>
299           <object class="GtkFrame" id="frame1">
300             <property name="visible">True</property>
301             <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
302             <property name="label_xalign">0</property>
303             <child>
304               <object class="GtkAlignment" id="alignment1">
305                 <property name="visible">True</property>
306                 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
307                 <property name="top_padding">5</property>
308                 <property name="bottom_padding">5</property>
309                 <property name="left_padding">5</property>
310                 <property name="right_padding">5</property>
311                 <child>
312                   <object class="GtkVBox" id="vbox2">
313                     <property name="visible">True</property>
314                     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
315                     <property name="orientation">vertical</property>
316                     <property name="spacing">5</property>
317                     <child>
318                       <object class="GtkHButtonBox" id="hbuttonbox1">
319                         <property name="visible">True</property>
320                         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
321                         <property name="homogeneous">True</property>
322                         <property name="layout_style">edge</property>
323                         <child>
324                           <object class="GtkButton" id="prev-button">
325                             <property name="label">gtk-go-back</property>
326                             <property name="visible">True</property>
327                             <property name="can_focus">True</property>
328                             <property name="receives_default">True</property>
329                             <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
330                             <property name="use_stock">True</property>
331                           </object>
332                           <packing>
333                             <property name="expand">False</property>
334                             <property name="fill">False</property>
335                             <property name="position">0</property>
336                           </packing>
337                         </child>
338                         <child>
339                           <object class="GtkButton" id="next-button">
340                             <property name="label">gtk-go-forward</property>
341                             <property name="visible">True</property>
342                             <property name="can_focus">True</property>
343                             <property name="receives_default">True</property>
344                             <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
345                             <property name="use_stock">True</property>
346                           </object>
347                           <packing>
348                             <property name="expand">False</property>
349                             <property name="fill">False</property>
350                             <property name="position">1</property>
351                           </packing>
352                         </child>
353                       </object>
354                       <packing>
355                         <property name="expand">False</property>
356                         <property name="fill">False</property>
357                         <property name="position">0</property>
358                       </packing>
359                     </child>
360                     <child>
361                       <object class="GtkHBox" id="hbox3">
362                         <property name="visible">True</property>
363                         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
364                         <child>
365                           <object class="GtkLabel" id="label4">
366                             <property name="visible">True</property>
367                             <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
368                             <property name="xalign">1</property>
369                             <property name="label" translatable="yes">_Coefficients:</property>
370                             <property name="use_underline">True</property>
371                           </object>
372                           <packing>
373                             <property name="expand">False</property>
374                             <property name="fill">False</property>
375                             <property name="position">0</property>
376                           </packing>
377                         </child>
378                         <child>
379                           <object class="GtkEntry" id="entry1">
380                             <property name="visible">True</property>
381                             <property name="can_focus">True</property>
382                             <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
383                           </object>
384                           <packing>
385                             <property name="fill">False</property>
386                             <property name="pack_type">end</property>
387                             <property name="position">1</property>
388                           </packing>
389                         </child>
390                       </object>
391                       <packing>
392                         <property name="expand">False</property>
393                         <property name="fill">False</property>
394                         <property name="position">1</property>
395                       </packing>
396                     </child>
397                     <child>
398                       <object class="PsppireAcr" id="psppire-acr1">
399                         <property name="visible">True</property>
400                         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
401                         <property name="border_width">5</property>
402                       </object>
403                       <packing>
404                         <property name="position">2</property>
405                       </packing>
406                     </child>
407                     <child>
408                       <object class="GtkHBox" id="hbox1">
409                         <property name="visible">True</property>
410                         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
411                         <child>
412                           <object class="GtkLabel" id="label2">
413                             <property name="visible">True</property>
414                             <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
415                             <property name="xalign">1</property>
416                             <property name="label" translatable="yes">Coefficient Total: </property>
417                           </object>
418                           <packing>
419                             <property name="position">0</property>
420                           </packing>
421                         </child>
422                         <child>
423                           <object class="GtkEntry" id="entry2">
424                             <property name="visible">True</property>
425                             <property name="sensitive">False</property>
426                             <property name="can_focus">True</property>
427                             <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
428                             <property name="editable">False</property>
429                             <property name="max_length">5</property>
430                           </object>
431                           <packing>
432                             <property name="expand">False</property>
433                             <property name="fill">False</property>
434                             <property name="position">1</property>
435                           </packing>
436                         </child>
437                       </object>
438                       <packing>
439                         <property name="expand">False</property>
440                         <property name="fill">False</property>
441                         <property name="position">3</property>
442                       </packing>
443                     </child>
444                   </object>
445                 </child>
446               </object>
447             </child>
448             <child type="label">
449               <object class="GtkLabel" id="contrast-stack-label">
450                 <property name="visible">True</property>
451                 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
452                 <property name="label" translatable="yes">Contrast 1 of 1</property>
453                 <property name="use_markup">True</property>
454               </object>
455             </child>
456           </object>
457           <packing>
458             <property name="padding">5</property>
459             <property name="position">0</property>
460           </packing>
461         </child>
462         <child>
463           <object class="PsppireVButtonBox" id="psppire-vbuttonbox1">
464             <property name="visible">True</property>
465             <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
466             <property name="border_width">5</property>
467             <property name="orientation">vertical</property>
468             <property name="buttons">PSPPIRE_BUTTON_CONTINUE_MASK | PSPPIRE_BUTTON_CANCEL_MASK | PSPPIRE_BUTTON_HELP_MASK</property>
469           </object>
470           <packing>
471             <property name="expand">False</property>
472             <property name="fill">False</property>
473             <property name="pack_type">end</property>
474             <property name="position">1</property>
475           </packing>
476         </child>
477       </object>
478     </child>
479   </object>
480 </interface>