1 /* PSPPIRE - a graphical user interface for PSPP.
2 Copyright (C) 2012 Free Software Foundation
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.
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.
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/>. */
18 A special purpose widget used in the means dialog.
21 #ifndef __PSPPIRE_MEANS_LAYER_H__
22 #define __PSPPIRE_MEANS_LAYER_H__
26 #include <glib-object.h>
29 #include "psppire-var-view.h"
34 #define PSPPIRE_TYPE_MEANS_LAYER (psppire_means_layer_get_type ())
36 #define PSPPIRE_MEANS_LAYER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
37 PSPPIRE_TYPE_MEANS_LAYER, PsppireMeansLayer))
39 #define PSPPIRE_MEANS_LAYER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), \
40 PSPPIRE_TYPE_MEANS_LAYER, PsppireMeansLayerClass))
42 #define PSPPIRE_IS_MEANS_LAYER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
43 PSPPIRE_TYPE_MEANS_LAYER))
45 #define PSPPIRE_IS_MEANS_LAYER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), \
46 PSPPIRE_TYPE_MEANS_LAYER))
49 typedef struct _PsppireMeansLayer PsppireMeansLayer;
50 typedef struct _PsppireMeansLayerClass PsppireMeansLayerClass;
53 struct _PsppireMeansLayer
68 struct _PsppireMeansLayerClass
70 GtkVBoxClass parent_class;
73 GType psppire_means_layer_get_type (void);
74 GType psppire_means_layer_model_get_type (void);
75 GtkWidget * psppire_means_layer_new (void);
77 void psppire_means_layer_set_source (PsppireMeansLayer *ml, GtkWidget *w);
79 void psppire_means_layer_clear (PsppireMeansLayer *ml);
84 #endif /* __PSPPIRE_MEANS_LAYER_H__ */