Fixed bug reporting the significance of paired value t-test.
[pspp-builds.git] / lib / gtksheet / gsheet-hetero-column.h
1 /* GtkSheet widget for Gtk+.
2  * Copyright (C) 2006 Free Software Foundation
3
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * This library 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 GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
17  */
18
19 #ifndef __G_SHEET_HETERO_COLUMN_H__
20 #define __G_SHEET_HETERO_COLUMN_H__
21
22 #include <glib-object.h>
23 #include <glib.h>
24
25
26 #ifdef __cplusplus
27 extern "C" {
28 #endif /* __cplusplus */
29
30
31 #define G_TYPE_SHEET_HETERO_COLUMN (g_sheet_hetero_column_get_type ())
32
33 #define G_SHEET_HETERO_COLUMN(obj)    G_TYPE_CHECK_INSTANCE_CAST (obj, G_TYPE_SHEET_HETERO_COLUMN, GSheetHeteroColumn )
34 #define G_SHEET_HETERO_COLUMN_CLASS(klass)  G_TYPE_CHECK_CLASS_CAST (klass, g_sheet_hetero_column_get_type (), GSheetHeteroColumnClass)
35 #define G_IS_SHEET_HETERO_COLUMN(obj)  G_TYPE_CHECK_INSTANCE_TYPE (obj, G_TYPE_SHEET_HETERO_COLUMN)
36
37
38   struct GSheetHeteroColumnUnit
39   {
40     GtkSheetButton button;
41
42     gint width;
43     gboolean is_sensitive;
44     gboolean is_visible;
45   };
46
47
48   struct _GSheetHeteroColumn{
49     GObject parent;
50
51     gint n_columns;
52     gint default_width;
53
54     struct GSheetHeteroColumnUnit *col;
55
56   };
57
58   struct _GSheetHeteroColumnClass
59   {
60     GObjectClass parent_class;
61   };
62
63
64
65
66   /* create a new column */
67   GObject * g_sheet_hetero_column_new (gint default_width, gint n_columns);
68
69   GType g_sheet_hetero_column_get_type (void);
70
71
72   typedef struct _GSheetHeteroColumn GSheetHeteroColumn;
73   typedef struct _GSheetHeteroColumnClass GSheetHeteroColumnClass;
74
75
76   void g_sheet_hetero_column_set_button_label (GSheetHeteroColumn *geo,
77                                                 glong i, const gchar *label);
78
79   void g_sheet_hetero_column_set_width (GSheetHeteroColumn *geo,
80                                              glong i, gint size);
81
82 #ifdef __cplusplus
83 }
84 #endif /* __cplusplus */
85
86 #endif /* __G_SHEET_HETERO_COLUMN_H__ */
87
88