gui: Factor out duplicated code for executing and pasting syntax.
[pspp] / src / ui / gui / binomial.ui
1 <?xml version="1.0"?>
2 <interface>
3   <!-- interface-requires gtk+ 2.12 -->
4   <requires lib="psppire" version="2053.63976"/>
5   <!-- interface-naming-policy toplevel-contextual -->
6   <object class="GtkAdjustment" id="adjustment1">
7     <property name="upper">100</property>
8     <property name="step_increment">1</property>
9     <property name="page_increment">10</property>
10   </object>
11   <object class="PsppireDialog" id="binomial-dialog">
12     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
13     <property name="title" translatable="yes">Binomial Test</property>
14     <property name="modal">True</property>
15     <child internal-child="hbox">
16       <object class="GtkHBox" id="dialog-hbox13">
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         <child>
20           <object class="GtkTable" id="table1">
21             <property name="visible">True</property>
22             <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
23             <property name="n_rows">3</property>
24             <property name="n_columns">3</property>
25             <child>
26               <object class="GtkScrolledWindow" id="scrolledwindow5">
27                 <property name="visible">True</property>
28                 <property name="can_focus">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="hscrollbar_policy">never</property>
31                 <property name="vscrollbar_policy">automatic</property>
32                 <property name="shadow_type">etched-in</property>
33                 <child>
34                   <object class="PsppireDictView" id="dict-view">
35                     <property name="visible">True</property>
36                     <property name="can_focus">True</property>
37                     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
38                     <property name="headers_visible">False</property>
39                     <property name="headers_clickable">False</property>
40                   </object>
41                 </child>
42               </object>
43               <packing>
44                 <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
45               </packing>
46             </child>
47             <child>
48               <object class="GtkVBox" id="vbox2">
49                 <property name="visible">True</property>
50                 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
51                 <property name="orientation">vertical</property>
52                 <child>
53                   <object class="GtkLabel" id="label1">
54                     <property name="visible">True</property>
55                     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
56                     <property name="xalign">0</property>
57                     <property name="label" translatable="yes">_Test Variable List:</property>
58                     <property name="use_underline">True</property>
59                   </object>
60                   <packing>
61                     <property name="expand">False</property>
62                     <property name="fill">False</property>
63                     <property name="position">0</property>
64                   </packing>
65                 </child>
66                 <child>
67                   <object class="GtkScrolledWindow" id="scrolledwindow1">
68                     <property name="visible">True</property>
69                     <property name="can_focus">True</property>
70                     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
71                     <property name="hscrollbar_policy">never</property>
72                     <property name="vscrollbar_policy">automatic</property>
73                     <property name="shadow_type">etched-in</property>
74                     <child>
75                       <object class="PsppireVarView" id="variables-treeview">
76                         <property name="visible">True</property>
77                         <property name="can_focus">True</property>
78                         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
79                         <property name="headers_visible">False</property>
80                         <property name="headers_clickable">False</property>
81                       </object>
82                     </child>
83                   </object>
84                   <packing>
85                     <property name="position">1</property>
86                   </packing>
87                 </child>
88               </object>
89               <packing>
90                 <property name="left_attach">2</property>
91                 <property name="right_attach">3</property>
92                 <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
93               </packing>
94             </child>
95             <child>
96               <object class="PsppireSelector" id="psppire-selector1">
97                 <property name="visible">True</property>
98                 <property name="can_focus">True</property>
99                 <property name="receives_default">True</property>
100                 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
101                 <property name="border_width">5</property>
102                 <property name="source_widget">dict-view</property>
103                 <property name="dest_widget">variables-treeview</property>
104               </object>
105               <packing>
106                 <property name="left_attach">1</property>
107                 <property name="right_attach">2</property>
108                 <property name="x_options"></property>
109                 <property name="y_options">GTK_EXPAND</property>
110               </packing>
111             </child>
112             <child>
113               <object class="GtkFrame" id="frame1">
114                 <property name="visible">True</property>
115                 <property name="label_xalign">0</property>
116                 <child>
117                   <object class="GtkAlignment" id="alignment1">
118                     <property name="visible">True</property>
119                     <property name="left_padding">12</property>
120                     <child>
121                       <object class="GtkVBox" id="vbox4">
122                         <property name="visible">True</property>
123                         <property name="orientation">vertical</property>
124                         <child>
125                           <object class="GtkRadioButton" id="radiobutton3">
126                             <property name="label" translatable="yes">_Get from data</property>
127                             <property name="visible">True</property>
128                             <property name="can_focus">True</property>
129                             <property name="receives_default">False</property>
130                             <property name="use_underline">True</property>
131                             <property name="active">True</property>
132                             <property name="draw_indicator">True</property>
133                           </object>
134                           <packing>
135                             <property name="position">0</property>
136                           </packing>
137                         </child>
138                         <child>
139                           <object class="GtkHBox" id="hbox1">
140                             <property name="visible">True</property>
141                             <child>
142                               <object class="GtkRadioButton" id="radiobutton4">
143                                 <property name="label" translatable="yes">_Cut point:</property>
144                                 <property name="visible">True</property>
145                                 <property name="can_focus">True</property>
146                                 <property name="receives_default">False</property>
147                                 <property name="use_underline">True</property>
148                                 <property name="draw_indicator">True</property>
149                                 <property name="group">radiobutton3</property>
150                               </object>
151                               <packing>
152                                 <property name="position">0</property>
153                               </packing>
154                             </child>
155                             <child>
156                               <object class="GtkEntry" id="cutpoint-entry">
157                                 <property name="visible">True</property>
158                                 <property name="sensitive">False</property>
159                                 <property name="can_focus">True</property>
160                                 <property name="invisible_char">&#x2022;</property>
161                               </object>
162                               <packing>
163                                 <property name="position">1</property>
164                               </packing>
165                             </child>
166                           </object>
167                           <packing>
168                             <property name="position">1</property>
169                           </packing>
170                         </child>
171                       </object>
172                     </child>
173                   </object>
174                 </child>
175                 <child type="label">
176                   <object class="GtkLabel" id="label2">
177                     <property name="visible">True</property>
178                     <property name="label" translatable="yes">Define Dichotomy</property>
179                     <property name="use_markup">True</property>
180                   </object>
181                 </child>
182               </object>
183               <packing>
184                 <property name="top_attach">1</property>
185                 <property name="bottom_attach">3</property>
186                 <property name="y_options">GTK_FILL</property>
187                 <property name="x_padding">5</property>
188               </packing>
189             </child>
190             <child>
191               <object class="GtkHBox" id="hbox2">
192                 <property name="visible">True</property>
193                 <property name="spacing">5</property>
194                 <child>
195                   <object class="GtkLabel" id="label3">
196                     <property name="visible">True</property>
197                     <property name="label" translatable="yes">Test _Proportion:</property>
198                     <property name="use_underline">True</property>
199                   </object>
200                   <packing>
201                     <property name="position">0</property>
202                   </packing>
203                 </child>
204                 <child>
205                   <object class="GtkEntry" id="proportion-entry">
206                     <property name="visible">True</property>
207                     <property name="can_focus">True</property>
208                     <property name="invisible_char">&#x2022;</property>
209                   </object>
210                   <packing>
211                     <property name="position">1</property>
212                   </packing>
213                 </child>
214               </object>
215               <packing>
216                 <property name="left_attach">2</property>
217                 <property name="right_attach">3</property>
218                 <property name="top_attach">1</property>
219                 <property name="bottom_attach">2</property>
220                 <property name="y_options"></property>
221               </packing>
222             </child>
223             <child>
224               <placeholder/>
225             </child>
226             <child>
227               <placeholder/>
228             </child>
229             <child>
230               <placeholder/>
231             </child>
232           </object>
233           <packing>
234             <property name="position">0</property>
235           </packing>
236         </child>
237         <child>
238           <object class="PsppireVButtonBox" id="psppire-vbuttonbox1">
239             <property name="visible">True</property>
240             <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
241             <property name="border_width">5</property>
242           </object>
243           <packing>
244             <property name="expand">False</property>
245             <property name="fill">False</property>
246             <property name="pack_type">end</property>
247             <property name="position">1</property>
248           </packing>
249         </child>
250       </object>
251     </child>
252   </object>
253 </interface>