2 PSPPIRE --- A Graphical User Interface for PSPP
3 Copyright (C) 2004 Free Software Foundation
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
20 #ifndef MENU_ACTIONS_H
21 #define MENU_ACTIONS_H
27 on_new1_activate (GtkMenuItem *menuitem,
31 on_open1_activate (GtkMenuItem *menuitem,
35 on_save1_activate (GtkMenuItem *menuitem,
39 on_save_as1_activate (GtkMenuItem *menuitem,
43 on_quit1_activate (GtkMenuItem *menuitem,
47 on_cut1_activate (GtkMenuItem *menuitem,
51 on_copy1_activate (GtkMenuItem *menuitem,
55 on_paste1_activate (GtkMenuItem *menuitem,
59 on_delete1_activate (GtkMenuItem *menuitem,
63 on_about1_activate (GtkMenuItem *menuitem,
67 psppire_data_sheet_create (gchar *widget_name, gchar *string1, gchar *string2,
68 gint int1, gint int2);
71 psppire_data_sheet_create (gchar *widget_name, gchar *string1, gchar *string2,
72 gint int1, gint int2);
75 psppire_variable_sheet_create (gchar *widget_name, gchar *string1, gchar *string2,
76 gint int1, gint int2);
79 /* Switch between the VAR SHEET and the DATA SHEET */
80 enum {PAGE_DATA_SHEET = 0, PAGE_VAR_SHEET};
82 gboolean load_system_file(const gchar *file_name);
83 gboolean clear_file(void);
85 void select_sheet(gint page);
86 void var_data_selection_init(void);