Fix crash in find dialog and make code less horrible.
[pspp] / src / ui / gui / crosstabs.glade
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
3 <!--Generated with glade3 3.2.2 on Thu Feb  7 10:02:16 2008 by jhs@debs-->
4 <glade-interface>
5   <requires lib="psppire"/>
6   <widget class="PsppireDialog" id="crosstabs-dialog">
7     <property name="title">Crosstabs</property>
8     <property name="modal">True</property>
9     <child internal-child="hbox">
10       <widget class="GtkHBox" id="dialog-hbox1">
11         <property name="visible">True</property>
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="spacing">2</property>
14         <child>
15           <widget class="GtkTable" id="table1">
16             <property name="visible">True</property>
17             <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
18             <property name="n_rows">3</property>
19             <property name="n_columns">3</property>
20             <child>
21               <widget class="GtkFrame" id="frame1">
22                 <property name="visible">True</property>
23                 <property name="label_xalign">0</property>
24                 <property name="shadow_type">GTK_SHADOW_NONE</property>
25                 <child>
26                   <widget class="GtkAlignment" id="alignment4">
27                     <property name="visible">True</property>
28                     <property name="left_padding">12</property>
29                     <child>
30                       <widget class="GtkScrolledWindow" id="scrolledwindow2">
31                         <property name="visible">True</property>
32                         <property name="can_focus">False</property>
33                         <property name="hscrollbar_policy">GTK_POLICY_NEVER</property>
34                         <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
35                         <property name="shadow_type">GTK_SHADOW_ETCHED_IN</property>
36                         <child>
37                           <widget class="GtkTreeView" id="rows">
38                             <property name="visible">True</property>
39                             <property name="headers_visible">False</property>
40                           </widget>
41                         </child>
42                       </widget>
43                     </child>
44                   </widget>
45                 </child>
46                 <child>
47                   <widget class="GtkLabel" id="label1">
48                     <property name="visible">True</property>
49                     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
50                     <property name="label" translatable="yes">Rows</property>
51                   </widget>
52                   <packing>
53                     <property name="type">label_item</property>
54                   </packing>
55                 </child>
56               </widget>
57               <packing>
58                 <property name="left_attach">2</property>
59                 <property name="right_attach">3</property>
60               </packing>
61             </child>
62             <child>
63               <widget class="GtkFrame" id="frame2">
64                 <property name="visible">True</property>
65                 <property name="label_xalign">0</property>
66                 <property name="shadow_type">GTK_SHADOW_NONE</property>
67                 <child>
68                   <widget class="GtkAlignment" id="alignment5">
69                     <property name="visible">True</property>
70                     <property name="left_padding">12</property>
71                     <child>
72                       <widget class="GtkScrolledWindow" id="scrolledwindow3">
73                         <property name="visible">True</property>
74                         <property name="can_focus">False</property>
75                         <property name="hscrollbar_policy">GTK_POLICY_NEVER</property>
76                         <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
77                         <property name="shadow_type">GTK_SHADOW_ETCHED_IN</property>
78                         <child>
79                           <widget class="GtkTreeView" id="cols">
80                             <property name="visible">True</property>
81                             <property name="headers_visible">False</property>
82                           </widget>
83                         </child>
84                       </widget>
85                     </child>
86                   </widget>
87                 </child>
88                 <child>
89                   <widget class="GtkLabel" id="label2">
90                     <property name="visible">True</property>
91                     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
92                     <property name="label" translatable="yes">Columns</property>
93                   </widget>
94                   <packing>
95                     <property name="type">label_item</property>
96                   </packing>
97                 </child>
98               </widget>
99               <packing>
100                 <property name="left_attach">2</property>
101                 <property name="right_attach">3</property>
102                 <property name="top_attach">1</property>
103                 <property name="bottom_attach">2</property>
104               </packing>
105             </child>
106             <child>
107               <widget class="GtkScrolledWindow" id="scrolledwindow1">
108                 <property name="visible">True</property>
109                 <property name="can_focus">True</property>
110                 <property name="hscrollbar_policy">GTK_POLICY_NEVER</property>
111                 <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
112                 <property name="shadow_type">GTK_SHADOW_ETCHED_IN</property>
113                 <child>
114                   <widget class="PsppireDictView" id="dict-treeview">
115                     <property name="visible">True</property>
116                     <property name="headers_visible">False</property>
117                   </widget>
118                 </child>
119               </widget>
120               <packing>
121                 <property name="bottom_attach">2</property>
122               </packing>
123             </child>
124             <child>
125               <widget class="GtkHButtonBox" id="hbuttonbox3">
126                 <property name="visible">True</property>
127                 <property name="layout_style">GTK_BUTTONBOX_SPREAD</property>
128                 <child>
129                   <widget class="GtkButton" id="format-button">
130                     <property name="visible">True</property>
131                     <property name="label" translatable="yes">Format...</property>
132                     <property name="response_id">0</property>
133                   </widget>
134                 </child>
135                 <child>
136                   <widget class="GtkButton" id="stats-button">
137                     <property name="visible">True</property>
138                     <property name="label" translatable="yes">Statistics...</property>
139                     <property name="response_id">0</property>
140                   </widget>
141                   <packing>
142                     <property name="position">1</property>
143                   </packing>
144                 </child>
145                 <child>
146                   <widget class="GtkButton" id="cell-button">
147                     <property name="visible">True</property>
148                     <property name="label" translatable="yes">Cells...</property>
149                     <property name="response_id">0</property>
150                   </widget>
151                   <packing>
152                     <property name="position">2</property>
153                   </packing>
154                 </child>
155               </widget>
156               <packing>
157                 <property name="right_attach">3</property>
158                 <property name="top_attach">2</property>
159                 <property name="bottom_attach">3</property>
160                 <property name="y_options"></property>
161               </packing>
162             </child>
163             <child>
164               <widget class="PsppireSelector" id="row-selector">
165                 <property name="visible">True</property>
166                 <property name="can_focus">True</property>
167                 <property name="receives_default">True</property>
168                 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
169                 <property name="border_width">5</property>
170               </widget>
171               <packing>
172                 <property name="left_attach">1</property>
173                 <property name="right_attach">2</property>
174                 <property name="x_options"></property>
175                 <property name="y_options"></property>
176               </packing>
177             </child>
178             <child>
179               <widget class="PsppireSelector" id="col-selector">
180                 <property name="visible">True</property>
181                 <property name="can_focus">True</property>
182                 <property name="receives_default">True</property>
183                 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
184                 <property name="border_width">5</property>
185               </widget>
186               <packing>
187                 <property name="left_attach">1</property>
188                 <property name="right_attach">2</property>
189                 <property name="top_attach">1</property>
190                 <property name="bottom_attach">2</property>
191                 <property name="x_options"></property>
192                 <property name="y_options"></property>
193               </packing>
194             </child>
195           </widget>
196         </child>
197         <child>
198           <widget class="PsppireVButtonBox" id="psppire-vbuttonbox1">
199             <property name="visible">True</property>
200             <property name="border_width">5</property>
201           </widget>
202           <packing>
203             <property name="expand">False</property>
204             <property name="fill">False</property>
205             <property name="pack_type">GTK_PACK_END</property>
206             <property name="position">1</property>
207           </packing>
208         </child>
209       </widget>
210     </child>
211   </widget>
212   <widget class="PsppireDialog" id="format-dialog">
213     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
214     <property name="title">Crosstabs: Format</property>
215     <property name="modal">True</property>
216     <child internal-child="hbox">
217       <widget class="GtkHBox" id="dialog-hbox2">
218         <property name="visible">True</property>
219         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
220         <property name="spacing">2</property>
221         <child>
222           <widget class="GtkVBox" id="vbox1">
223             <property name="visible">True</property>
224             <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
225             <child>
226               <widget class="GtkCheckButton" id="print-tables">
227                 <property name="visible">True</property>
228                 <property name="can_focus">True</property>
229                 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
230                 <property name="label" translatable="yes">Print tables</property>
231                 <property name="response_id">0</property>
232                 <property name="draw_indicator">True</property>
233               </widget>
234             </child>
235             <child>
236               <widget class="GtkCheckButton" id="pivot">
237                 <property name="visible">True</property>
238                 <property name="can_focus">True</property>
239                 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
240                 <property name="label" translatable="yes">Pivot</property>
241                 <property name="response_id">0</property>
242                 <property name="draw_indicator">True</property>
243               </widget>
244               <packing>
245                 <property name="position">1</property>
246               </packing>
247             </child>
248             <child>
249               <widget class="GtkCheckButton" id="ascending">
250                 <property name="visible">True</property>
251                 <property name="can_focus">True</property>
252                 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
253                 <property name="label" translatable="yes">Ascending</property>
254                 <property name="response_id">0</property>
255                 <property name="draw_indicator">True</property>
256               </widget>
257               <packing>
258                 <property name="position">2</property>
259               </packing>
260             </child>
261             <child>
262               <widget class="GtkFrame" id="Labeling">
263                 <property name="visible">True</property>
264                 <property name="label_xalign">0</property>
265                 <child>
266                   <widget class="GtkAlignment" id="alignment2">
267                     <property name="visible">True</property>
268                     <property name="left_padding">12</property>
269                     <child>
270                       <widget class="GtkVBox" id="vbox2">
271                         <property name="visible">True</property>
272                         <child>
273                           <widget class="GtkRadioButton" id="radiobutton1">
274                             <property name="visible">True</property>
275                             <property name="label" translatable="yes">Label</property>
276                             <property name="response_id">0</property>
277                             <property name="draw_indicator">True</property>
278                           </widget>
279                         </child>
280                         <child>
281                           <widget class="GtkRadioButton" id="radiobutton2">
282                             <property name="visible">True</property>
283                             <property name="label" translatable="yes">No label</property>
284                             <property name="response_id">0</property>
285                             <property name="draw_indicator">True</property>
286                             <property name="group">radiobutton1</property>
287                           </widget>
288                           <packing>
289                             <property name="position">1</property>
290                           </packing>
291                         </child>
292                         <child>
293                           <widget class="GtkRadioButton" id="radiobutton3">
294                             <property name="visible">True</property>
295                             <property name="label" translatable="yes">Suppress value labels</property>
296                             <property name="response_id">0</property>
297                             <property name="draw_indicator">True</property>
298                             <property name="group">radiobutton1</property>
299                           </widget>
300                           <packing>
301                             <property name="position">2</property>
302                           </packing>
303                         </child>
304                       </widget>
305                     </child>
306                   </widget>
307                 </child>
308                 <child>
309                   <widget class="GtkLabel" id="label4">
310                     <property name="visible">True</property>
311                     <property name="label" translatable="yes">Labeling</property>
312                     <property name="use_markup">True</property>
313                   </widget>
314                   <packing>
315                     <property name="type">label_item</property>
316                   </packing>
317                 </child>
318               </widget>
319               <packing>
320                 <property name="position">3</property>
321               </packing>
322             </child>
323           </widget>
324         </child>
325         <child>
326           <widget class="PsppireVButtonBox" id="psppire-vbuttonbox2">
327             <property name="visible">True</property>
328             <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
329             <property name="border_width">5</property>
330             <property name="homogeneous">True</property>
331             <property name="buttons">PSPPIRE_BUTTON_CONTINUE_MASK | PSPPIRE_BUTTON_CANCEL_MASK | PSPPIRE_BUTTON_HELP_MASK</property>
332           </widget>
333           <packing>
334             <property name="expand">False</property>
335             <property name="fill">False</property>
336             <property name="pack_type">GTK_PACK_END</property>
337             <property name="position">1</property>
338           </packing>
339         </child>
340       </widget>
341     </child>
342   </widget>
343   <widget class="PsppireDialog" id="cell-dialog">
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="title">Crosstabs: Cells</property>
346     <property name="modal">True</property>
347     <child internal-child="hbox">
348       <widget class="GtkHBox" id="dialog-hbox3">
349         <property name="visible">True</property>
350         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
351         <property name="spacing">2</property>
352         <child>
353           <widget class="GtkFrame" id="frame4">
354             <property name="visible">True</property>
355             <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
356             <property name="label_xalign">0</property>
357             <property name="shadow_type">GTK_SHADOW_NONE</property>
358             <child>
359               <widget class="GtkScrolledWindow" id="scrolledwindow4">
360                 <property name="width_request">128</property>
361                 <property name="height_request">180</property>
362                 <property name="visible">True</property>
363                 <property name="can_focus">False</property>
364                 <property name="hscrollbar_policy">GTK_POLICY_NEVER</property>
365                 <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
366                 <child>
367                   <widget class="GtkTreeView" id="cell-view">
368                     <property name="visible">True</property>
369                     <property name="headers_visible">False</property>
370                   </widget>
371                 </child>
372               </widget>
373             </child>
374             <child>
375               <widget class="GtkLabel" id="frame3">
376                 <property name="visible">True</property>
377                 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
378                 <property name="label" translatable="yes">Cell Display</property>
379                 <property name="use_markup">True</property>
380               </widget>
381               <packing>
382                 <property name="type">label_item</property>
383               </packing>
384             </child>
385           </widget>
386         </child>
387         <child>
388           <widget class="PsppireVButtonBox" id="psppire-vbuttonbox3">
389             <property name="visible">True</property>
390             <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
391             <property name="border_width">5</property>
392             <property name="buttons">PSPPIRE_BUTTON_CONTINUE_MASK | PSPPIRE_BUTTON_CANCEL_MASK | PSPPIRE_BUTTON_HELP_MASK</property>
393           </widget>
394           <packing>
395             <property name="expand">False</property>
396             <property name="fill">False</property>
397             <property name="pack_type">GTK_PACK_END</property>
398             <property name="position">1</property>
399           </packing>
400         </child>
401       </widget>
402     </child>
403   </widget>
404   <widget class="PsppireDialog" id="stat-dialog">
405     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
406     <property name="title">Crosstabs: Statistics</property>
407     <property name="modal">True</property>
408     <child internal-child="hbox">
409       <widget class="GtkHBox" id="dialog-hbox4">
410         <property name="visible">True</property>
411         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
412         <property name="spacing">2</property>
413         <child>
414           <widget class="GtkFrame" id="frame3">
415             <property name="visible">True</property>
416             <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
417             <property name="label_xalign">0</property>
418             <property name="shadow_type">GTK_SHADOW_NONE</property>
419             <child>
420               <widget class="GtkScrolledWindow" id="scrolledwindow5">
421                 <property name="visible">True</property>
422                 <property name="can_focus">False</property>
423                 <property name="hscrollbar_policy">GTK_POLICY_NEVER</property>
424                 <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
425                 <child>
426                   <widget class="GtkTreeView" id="stats-view">
427                     <property name="width_request">128</property>
428                     <property name="height_request">150</property>
429                     <property name="visible">True</property>
430                     <property name="headers_visible">False</property>
431                   </widget>
432                 </child>
433               </widget>
434             </child>
435             <child>
436               <widget class="GtkLabel" id="label3">
437                 <property name="visible">True</property>
438                 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
439                 <property name="label" translatable="yes">Statistics</property>
440                 <property name="use_markup">True</property>
441               </widget>
442               <packing>
443                 <property name="type">label_item</property>
444               </packing>
445             </child>
446           </widget>
447         </child>
448         <child>
449           <widget class="PsppireVButtonBox" id="psppire-vbuttonbox4">
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="border_width">5</property>
453             <property name="buttons">PSPPIRE_BUTTON_CONTINUE_MASK | PSPPIRE_BUTTON_CANCEL_MASK | PSPPIRE_BUTTON_HELP_MASK</property>
454           </widget>
455           <packing>
456             <property name="expand">False</property>
457             <property name="fill">False</property>
458             <property name="pack_type">GTK_PACK_END</property>
459             <property name="position">1</property>
460           </packing>
461         </child>
462       </widget>
463     </child>
464   </widget>
465 </glade-interface>