Fix crash in find dialog and make code less horrible.
[pspp] / src / ui / gui / frequencies.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 Fri Nov 30 15:42:55 2007 by john@marilyn-->
4 <glade-interface>
5   <requires lib="psppire"/>
6   <widget class="PsppireDialog" id="frequencies-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">Frequencies</property>
9     <property name="modal">True</property>
10     <child internal-child="hbox">
11       <widget class="GtkHBox" id="dialog-hbox1">
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           <widget class="GtkVBox" id="vbox1">
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               <widget class="GtkHBox" id="hbox1">
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                 <child>
24                   <widget class="GtkScrolledWindow" id="scrolledwindow1">
25                     <property name="visible">True</property>
26                     <property name="can_focus">True</property>
27                     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
28                     <property name="hscrollbar_policy">GTK_POLICY_NEVER</property>
29                     <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
30                     <property name="shadow_type">GTK_SHADOW_ETCHED_IN</property>
31                     <child>
32                       <widget class="PsppireDictView" id="dict-treeview">
33                         <property name="visible">True</property>
34                         <property name="can_focus">True</property>
35                         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
36                         <property name="headers_visible">False</property>
37                         <property name="headers_clickable">True</property>
38                       </widget>
39                     </child>
40                   </widget>
41                 </child>
42                 <child>
43                   <widget class="GtkAlignment" id="alignment2">
44                     <property name="visible">True</property>
45                     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
46                     <property name="yalign">0.05000000074505806</property>
47                     <property name="yscale">0</property>
48                     <child>
49                       <widget class="PsppireSelector" id="selector1">
50                         <property name="visible">True</property>
51                         <property name="can_focus">True</property>
52                         <property name="receives_default">True</property>
53                         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
54                         <property name="no_show_all">True</property>
55                         <property name="border_width">5</property>
56                       </widget>
57                     </child>
58                   </widget>
59                   <packing>
60                     <property name="expand">False</property>
61                     <property name="fill">False</property>
62                     <property name="position">1</property>
63                   </packing>
64                 </child>
65                 <child>
66                   <widget class="GtkVBox" id="vbox3">
67                     <property name="visible">True</property>
68                     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
69                     <child>
70                       <widget class="GtkFrame" id="frame1">
71                         <property name="visible">True</property>
72                         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
73                         <property name="label_xalign">0</property>
74                         <property name="shadow_type">GTK_SHADOW_NONE</property>
75                         <child>
76                           <widget class="GtkScrolledWindow" id="scrolledwindow2">
77                             <property name="visible">True</property>
78                             <property name="can_focus">True</property>
79                             <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
80                             <property name="hscrollbar_policy">GTK_POLICY_NEVER</property>
81                             <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
82                             <property name="shadow_type">GTK_SHADOW_ETCHED_IN</property>
83                             <child>
84                               <widget class="GtkTreeView" id="var-treeview">
85                                 <property name="visible">True</property>
86                                 <property name="can_focus">True</property>
87                                 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
88                                 <property name="headers_visible">False</property>
89                                 <property name="headers_clickable">True</property>
90                               </widget>
91                             </child>
92                           </widget>
93                         </child>
94                         <child>
95                           <widget class="GtkLabel" id="label1">
96                             <property name="visible">True</property>
97                             <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
98                             <property name="label" translatable="yes">Variable(s):</property>
99                             <property name="use_markup">True</property>
100                           </widget>
101                           <packing>
102                             <property name="type">label_item</property>
103                           </packing>
104                         </child>
105                       </widget>
106                       <packing>
107                         <property name="expand">False</property>
108                       </packing>
109                     </child>
110                     <child>
111                       <widget class="GtkFrame" id="frame1">
112                         <property name="visible">True</property>
113                         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
114                         <property name="label_xalign">0</property>
115                         <property name="shadow_type">GTK_SHADOW_NONE</property>
116                         <child>
117                           <widget class="GtkScrolledWindow" id="scrolledwindow3">
118                             <property name="visible">True</property>
119                             <property name="can_focus">True</property>
120                             <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
121                             <property name="hscrollbar_policy">GTK_POLICY_NEVER</property>
122                             <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
123                             <property name="shadow_type">GTK_SHADOW_ETCHED_IN</property>
124                             <child>
125                               <widget class="GtkTreeView" id="stats-treeview">
126                                 <property name="visible">True</property>
127                                 <property name="can_focus">True</property>
128                                 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
129                                 <property name="headers_visible">False</property>
130                                 <property name="headers_clickable">True</property>
131                               </widget>
132                             </child>
133                           </widget>
134                         </child>
135                         <child>
136                           <widget class="GtkLabel" id="label1">
137                             <property name="visible">True</property>
138                             <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
139                             <property name="label" translatable="yes">Statistics:</property>
140                             <property name="use_markup">True</property>
141                           </widget>
142                           <packing>
143                             <property name="type">label_item</property>
144                           </packing>
145                         </child>
146                       </widget>
147                       <packing>
148                         <property name="position">1</property>
149                       </packing>
150                     </child>
151                   </widget>
152                   <packing>
153                     <property name="expand">False</property>
154                     <property name="position">2</property>
155                   </packing>
156                 </child>
157               </widget>
158             </child>
159             <child>
160               <widget class="GtkHBox" id="hbox3">
161                 <property name="visible">True</property>
162                 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
163                 <child>
164                   <widget class="GtkCheckButton" id="checkbutton1">
165                     <property name="visible">True</property>
166                     <property name="can_focus">True</property>
167                     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
168                     <property name="label" translatable="yes">Display Frequency Table</property>
169                     <property name="response_id">0</property>
170                     <property name="draw_indicator">True</property>
171                   </widget>
172                 </child>
173                 <child>
174                   <widget class="GtkHBox" id="hbox2">
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="spacing">5</property>
178                     <property name="homogeneous">True</property>
179                     <child>
180                       <widget class="GtkButton" id="button1">
181                         <property name="visible">True</property>
182                         <property name="can_focus">True</property>
183                         <property name="receives_default">True</property>
184                         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
185                         <property name="label" translatable="yes">Format...</property>
186                         <property name="response_id">0</property>
187                       </widget>
188                     </child>
189                     <child>
190                       <placeholder/>
191                     </child>
192                     <child>
193                       <placeholder/>
194                     </child>
195                   </widget>
196                   <packing>
197                     <property name="expand">False</property>
198                     <property name="fill">False</property>
199                     <property name="padding">5</property>
200                     <property name="pack_type">GTK_PACK_END</property>
201                     <property name="position">1</property>
202                   </packing>
203                 </child>
204               </widget>
205               <packing>
206                 <property name="expand">False</property>
207                 <property name="fill">False</property>
208                 <property name="padding">5</property>
209                 <property name="position">1</property>
210               </packing>
211             </child>
212           </widget>
213         </child>
214         <child>
215           <widget class="PsppireVButtonBox" id="psppire-vbuttonbox1">
216             <property name="visible">True</property>
217             <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
218             <property name="border_width">5</property>
219           </widget>
220           <packing>
221             <property name="expand">False</property>
222             <property name="fill">False</property>
223             <property name="pack_type">GTK_PACK_END</property>
224             <property name="position">1</property>
225           </packing>
226         </child>
227       </widget>
228     </child>
229   </widget>
230   <widget class="PsppireDialog" id="format-dialog">
231     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
232     <property name="title">Frequencies: Format</property>
233     <property name="modal">True</property>
234     <child internal-child="hbox">
235       <widget class="GtkHBox" id="dialog-hbox2">
236         <property name="visible">True</property>
237         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
238         <property name="spacing">2</property>
239         <child>
240           <widget class="GtkHBox" id="hbox4">
241             <property name="visible">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="spacing">5</property>
244             <child>
245               <widget class="GtkFrame" id="frame2">
246                 <property name="visible">True</property>
247                 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
248                 <property name="label_xalign">0</property>
249                 <child>
250                   <widget class="GtkAlignment" id="alignment1">
251                     <property name="visible">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="left_padding">12</property>
254                     <child>
255                       <widget class="GtkVButtonBox" id="vbuttonbox1">
256                         <property name="visible">True</property>
257                         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
258                         <property name="homogeneous">True</property>
259                         <child>
260                           <widget class="GtkRadioButton" id="radiobutton1">
261                             <property name="visible">True</property>
262                             <property name="can_focus">True</property>
263                             <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
264                             <property name="label" translatable="yes">Ascending Order</property>
265                             <property name="response_id">0</property>
266                             <property name="active">True</property>
267                             <property name="draw_indicator">True</property>
268                           </widget>
269                         </child>
270                         <child>
271                           <widget class="GtkRadioButton" id="radiobutton2">
272                             <property name="visible">True</property>
273                             <property name="can_focus">True</property>
274                             <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
275                             <property name="label" translatable="yes">Descending Order</property>
276                             <property name="response_id">0</property>
277                             <property name="active">True</property>
278                             <property name="draw_indicator">True</property>
279                             <property name="group">radiobutton1</property>
280                           </widget>
281                           <packing>
282                             <property name="position">1</property>
283                           </packing>
284                         </child>
285                         <child>
286                           <widget class="GtkRadioButton" id="radiobutton3">
287                             <property name="visible">True</property>
288                             <property name="can_focus">True</property>
289                             <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
290                             <property name="label" translatable="yes">Ascending Counts</property>
291                             <property name="response_id">0</property>
292                             <property name="active">True</property>
293                             <property name="draw_indicator">True</property>
294                             <property name="group">radiobutton1</property>
295                           </widget>
296                           <packing>
297                             <property name="position">2</property>
298                           </packing>
299                         </child>
300                         <child>
301                           <widget class="GtkRadioButton" id="radiobutton4">
302                             <property name="visible">True</property>
303                             <property name="can_focus">True</property>
304                             <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
305                             <property name="label" translatable="yes">Descending Counts</property>
306                             <property name="response_id">0</property>
307                             <property name="active">True</property>
308                             <property name="draw_indicator">True</property>
309                             <property name="group">radiobutton1</property>
310                           </widget>
311                           <packing>
312                             <property name="position">3</property>
313                           </packing>
314                         </child>
315                       </widget>
316                     </child>
317                   </widget>
318                 </child>
319                 <child>
320                   <widget class="GtkLabel" id="label2">
321                     <property name="visible">True</property>
322                     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
323                     <property name="label" translatable="yes">Order by</property>
324                     <property name="use_markup">True</property>
325                   </widget>
326                   <packing>
327                     <property name="type">label_item</property>
328                   </packing>
329                 </child>
330               </widget>
331             </child>
332             <child>
333               <widget class="GtkAlignment" id="alignment3">
334                 <property name="visible">True</property>
335                 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
336                 <property name="yalign">0</property>
337                 <property name="yscale">0</property>
338                 <property name="top_padding">5</property>
339                 <child>
340                   <widget class="GtkVBox" id="vbox2">
341                     <property name="visible">True</property>
342                     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
343                     <child>
344                       <widget class="GtkCheckButton" id="checkbutton2">
345                         <property name="visible">True</property>
346                         <property name="can_focus">True</property>
347                         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
348                         <property name="response_id">0</property>
349                         <property name="draw_indicator">True</property>
350                         <child>
351                           <widget class="GtkLabel" id="label4">
352                             <property name="width_request">180</property>
353                             <property name="visible">True</property>
354                             <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
355                             <property name="label" translatable="yes">Supress tables with more than N categories</property>
356                             <property name="wrap">True</property>
357                           </widget>
358                         </child>
359                       </widget>
360                     </child>
361                     <child>
362                       <widget class="GtkHBox" id="hbox5">
363                         <property name="visible">True</property>
364                         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
365                         <child>
366                           <widget class="GtkLabel" id="label3">
367                             <property name="width_request">120</property>
368                             <property name="visible">True</property>
369                             <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
370                             <property name="xalign">0</property>
371                             <property name="label" translatable="yes">Maximum no of categories</property>
372                             <property name="wrap">True</property>
373                             <property name="wrap_mode">PANGO_WRAP_WORD_CHAR</property>
374                           </widget>
375                           <packing>
376                             <property name="expand">False</property>
377                             <property name="fill">False</property>
378                           </packing>
379                         </child>
380                         <child>
381                           <widget class="GtkSpinButton" id="spinbutton1">
382                             <property name="visible">True</property>
383                             <property name="can_focus">True</property>
384                             <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
385                             <property name="adjustment">100 1 65536 1 10 10</property>
386                             <property name="numeric">True</property>
387                             <property name="update_policy">GTK_UPDATE_IF_VALID</property>
388                           </widget>
389                           <packing>
390                             <property name="expand">False</property>
391                             <property name="fill">False</property>
392                             <property name="position">1</property>
393                           </packing>
394                         </child>
395                       </widget>
396                       <packing>
397                         <property name="padding">5</property>
398                         <property name="position">1</property>
399                       </packing>
400                     </child>
401                   </widget>
402                 </child>
403               </widget>
404               <packing>
405                 <property name="expand">False</property>
406                 <property name="padding">5</property>
407                 <property name="position">1</property>
408               </packing>
409             </child>
410           </widget>
411         </child>
412         <child>
413           <widget class="PsppireVButtonBox" id="psppire-vbuttonbox2">
414             <property name="visible">True</property>
415             <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
416             <property name="border_width">5</property>
417             <property name="buttons">PSPPIRE_BUTTON_CONTINUE_MASK | PSPPIRE_BUTTON_CANCEL_MASK | PSPPIRE_BUTTON_HELP_MASK</property>
418           </widget>
419           <packing>
420             <property name="expand">False</property>
421             <property name="fill">False</property>
422             <property name="pack_type">GTK_PACK_END</property>
423             <property name="position">1</property>
424           </packing>
425         </child>
426       </widget>
427     </child>
428   </widget>
429 </glade-interface>