Fixed bug reporting the significance of paired value t-test.
[pspp-builds.git] / src / ui / gui / psppire-var-sheet.h
1 /* PSPPIRE - a graphical user interface for PSPP.
2    Copyright (C) 2008 Free Software Foundation, Inc.
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_VAR_SHEET_H__
18 #define __PSPPIRE_VAR_SHEET_H__
19
20
21 #include <glib.h>
22 #include <glib-object.h>
23 #include <gtksheet/gtksheet.h>
24 #include "val-labs-dialog.h"
25 #include "missing-val-dialog.h"
26 #include "var-type-dialog.h"
27
28
29 G_BEGIN_DECLS
30
31 #define PSPPIRE_VAR_SHEET_TYPE            (psppire_var_sheet_get_type ())
32 #define PSPPIRE_VAR_SHEET(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), PSPPIRE_VAR_SHEET_TYPE, PsppireVarSheet))
33 #define PSPPIRE_VAR_SHEET_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), PSPPIRE_VAR_SHEET_TYPE, PsppireVarSheetClass))
34 #define PSPPIRE_IS_VAR_SHEET(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PSPPIRE_VAR_SHEET_TYPE))
35 #define PSPPIRE_IS_VAR_SHEET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PSPPIRE_VAR_SHEET_TYPE))
36
37
38 typedef struct _PsppireVarSheet       PsppireVarSheet;
39 typedef struct _PsppireVarSheetClass  PsppireVarSheetClass;
40
41 struct _PsppireVarSheet
42 {
43   GtkSheet parent;
44
45   gboolean dispose_has_run;
46   gboolean may_create_vars;
47
48   struct val_labs_dialog *val_labs_dialog ;
49   struct missing_val_dialog *missing_val_dialog ;
50   struct var_type_dialog *var_type_dialog ;
51 };
52
53
54 struct _PsppireVarSheetClass
55 {
56   GtkSheetClass parent_class;
57
58   GtkListStore *alignment_list;
59   GtkListStore *measure_list;
60
61   void (*var_sheet)(PsppireVarSheet*);
62 };
63
64
65 GType          psppire_var_sheet_get_type        (void);
66 GtkWidget*     psppire_var_sheet_new             (void);
67
68 G_END_DECLS
69
70
71
72
73 #endif /* __PSPPIRE_VAR_SHEET_H__ */