2 PSPPIRE --- A Graphical User Interface for PSPP
3 Copyright (C) 2004 Free Software Foundation
4 Written by John Darrington
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
21 #ifndef MENU_ACTIONS_H
22 #define MENU_ACTIONS_H
28 on_new1_activate (GtkMenuItem *menuitem,
32 on_open1_activate (GtkMenuItem *menuitem,
36 on_save1_activate (GtkMenuItem *menuitem,
40 on_save_as1_activate (GtkMenuItem *menuitem,
44 on_quit1_activate (GtkMenuItem *menuitem,
48 on_cut1_activate (GtkMenuItem *menuitem,
52 on_copy1_activate (GtkMenuItem *menuitem,
56 on_paste1_activate (GtkMenuItem *menuitem,
60 on_delete1_activate (GtkMenuItem *menuitem,
64 on_about1_activate (GtkMenuItem *menuitem,
68 psppire_data_sheet_create (gchar *widget_name, gchar *string1, gchar *string2,
69 gint int1, gint int2);
72 psppire_data_sheet_create (gchar *widget_name, gchar *string1, gchar *string2,
73 gint int1, gint int2);
76 psppire_variable_sheet_create (gchar *widget_name, gchar *string1, gchar *string2,
77 gint int1, gint int2);
80 gboolean callbacks_on_init(gpointer data) ;
83 /* Switch between the VAR SHEET and the DATA SHEET */
84 enum {PAGE_DATA_SHEET = 0, PAGE_VAR_SHEET};
86 gboolean load_system_file(const gchar *file_name);
88 void select_sheet(gint page);