2 PSPPIRE --- A Graphical User Interface for PSPP
3 Copyright (C) 2005 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
22 #ifndef __PSPPIRE_VAL_LABS_DIALOG_H
23 #define __PSPPIRE_VAL_LABS_DIALOG_H
26 /* This module describes the behaviour of the Value Labels dialog box,
27 used for input of the value labels in the variable sheet */
31 #include <glade/glade.h>
36 struct val_labs_dialog
41 /* The variable to be updated */
44 /* Local copy of labels */
45 struct val_labs *labs;
49 GtkWidget *add_button;
50 GtkWidget *remove_button;
51 GtkWidget *change_button;
54 GtkWidget *value_entry;
55 GtkWidget *label_entry;
57 /* Signal handler ids */
58 gint change_handler_id;
59 gint value_handler_id;
67 struct val_labs_dialog * val_labs_dialog_create(GladeXML *xml);
69 void val_labs_dialog_show(struct val_labs_dialog *dialog);