Fixed bug reporting the significance of paired value t-test.
[pspp-builds.git] / src / ui / gui / missing-val-dialog.h
1 /* PSPPIRE - a graphical user interface for PSPP.
2    Copyright (C) 2005  Free Software Foundation
3
4    This program is free software: you can redistribute it and/or modify
5    it under the terms of the GNU General Public License as published by
6    the Free Software Foundation, either version 3 of the License, or
7    (at your option) any later version.
8
9    This program is distributed in the hope that it will be useful,
10    but WITHOUT ANY WARRANTY; without even the implied warranty of
11    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12    GNU General Public License for more details.
13
14    You should have received a copy of the GNU General Public License
15    along with this program.  If not, see <http://www.gnu.org/licenses/>. */
16
17 #ifndef __PSPPIRE_MISSING_VAL_DIALOG_H
18 #define __PSPPIRE_MISSING_VAL_DIALOG_H
19
20 /*  This module describes the behaviour of the Missing Values dialog box,
21     used for input of the missing values in the variable sheet */
22
23
24 #include <gtk/gtk.h>
25 #include <glade/glade.h>
26
27 #include <data/missing-values.h>
28
29 struct missing_val_dialog
30 {
31   GtkWidget *window;
32
33   /* The variable whose missing values are to be updated */
34   struct variable *pv;
35
36   /* local copy */
37   struct missing_values mvl;
38
39   /* Radio Buttons */
40   GtkToggleButton *button_none;
41   GtkToggleButton *button_discrete;
42   GtkToggleButton *button_range;
43
44   /* Entry boxes */
45   GtkWidget *mv[3];
46   GtkWidget *low;
47   GtkWidget *high;
48   GtkWidget *discrete;
49 };
50
51 struct missing_val_dialog * missing_val_dialog_create (GladeXML *xml);
52
53 void missing_val_dialog_show (struct missing_val_dialog *dialog);
54
55 #endif