1 /* PSPPIRE - a graphical user interface for PSPP.
2 Copyright (C) 2015 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 #include <glib-object.h>
21 #include "psppire-dialog-action.h"
23 #ifndef __PSPPIRE_DIALOG_ACTION_SELECT_H__
24 #define __PSPPIRE_DIALOG_ACTION_SELECT_H__
29 #define PSPPIRE_TYPE_DIALOG_ACTION_SELECT (psppire_dialog_action_select_get_type ())
31 #define PSPPIRE_DIALOG_ACTION_SELECT(obj) \
32 (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
33 PSPPIRE_TYPE_DIALOG_ACTION_SELECT, PsppireDialogActionSelect))
35 #define PSPPIRE_DIALOG_ACTION_SELECT_CLASS(klass) \
36 (G_TYPE_CHECK_CLASS_CAST ((klass), \
37 PSPPIRE_TYPE_DIALOG_ACTION_SELECT, \
38 PsppireDialogActionSelectClass))
41 #define PSPPIRE_IS_DIALOG_ACTION_SELECT(obj) \
42 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PSPPIRE_TYPE_DIALOG_ACTION_SELECT))
44 #define PSPPIRE_IS_DIALOG_ACTION_SELECT_CLASS(klass) \
45 (G_TYPE_CHECK_CLASS_TYPE ((klass), PSPPIRE_TYPE_DIALOG_ACTION_SELECT))
48 #define PSPPIRE_DIALOG_ACTION_SELECT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), \
49 PSPPIRE_TYPE_DIALOG_ACTION_SELECT, \
50 PsppireDialogActionSelectClass))
52 typedef struct _PsppireDialogActionSelect PsppireDialogActionSelect;
53 typedef struct _PsppireDialogActionSelectClass PsppireDialogActionSelectClass;
56 struct _PsppireDialogActionSelect
58 PsppireDialogAction parent;
61 GtkWidget *spinbutton ;
62 GtkWidget *spin_sample_size ;
63 GtkWidget *spin_sample_limit ;
68 GtkWidget *rsample_dialog;
70 GtkWidget *sample_n_cases ;
74 GtkWidget *radiobutton_range ;
77 GtkWidget *radiobutton_sample;
78 GtkWidget *radiobutton_all;
80 GtkWidget *radiobutton_filter_variable;
81 GtkWidget *radiobutton_delete;
82 GtkWidget *radiobutton_filter;
83 GtkWidget *range_subdialog;
88 struct _PsppireDialogActionSelectClass
90 PsppireDialogActionClass parent_class;
94 GType psppire_dialog_action_select_get_type (void) ;
98 #endif /* __PSPPIRE_DIALOG_ACTION_SELECT_H__ */