1 /* PSPPIRE - a graphical user interface for PSPP.
2 Copyright (C) 2006, 2007 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/>. */
21 #include <glade/glade.h>
23 #include "window-manager.h"
27 struct editor_window parent;
29 GtkAction *action_data_new;
30 GtkAction *action_data_open;
31 GtkAction *action_data_save_as;
32 GtkAction *action_data_save;
34 /* Actions which invoke dialog boxes */
35 GtkAction *invoke_weight_cases_dialog;
36 GtkAction *invoke_transpose_dialog;
37 GtkAction *invoke_split_file_dialog;
38 GtkAction *invoke_sort_cases_dialog;
39 GtkAction *invoke_compute_dialog;
40 GtkAction *invoke_comments_dialog;
41 GtkAction *invoke_select_cases_dialog;
42 GtkAction *invoke_goto_dialog;
43 GtkAction *invoke_variable_info_dialog;
44 GtkAction *invoke_find_dialog;
45 GtkAction *invoke_rank_dialog;
47 GtkAction *invoke_descriptives_dialog;
49 GtkAction *invoke_t_test_independent_samples_dialog;
50 GtkAction *invoke_oneway_anova_dialog;
53 /* Actions which do things */
54 GtkAction *insert_variable;
55 GtkAction *insert_case;
56 GtkAction *delete_variables;
57 GtkAction *delete_cases;
59 GtkToggleAction *toggle_value_labels;
63 GtkMenu *data_sheet_variable_popup_menu;
64 GtkMenu *data_sheet_cases_popup_menu;
67 gboolean save_as_portable;
69 /* Name of the file this data is associated with (ie, was loaded from or
70 has been saved to), in "filename encoding", or NULL, if it's not
71 associated with any file */
76 struct data_editor * new_data_editor (void);
78 void new_data_window (GtkMenuItem *, gpointer);
80 void data_editor_select_sheet (struct data_editor *de, gint page);
82 enum {PAGE_DATA_SHEET = 0, PAGE_VAR_SHEET};