X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fvar-sheet.h;h=4bfd1097f7778d48ff15a16d300ba93211c18e82;hb=c86f5b8a45cca158b46a4fe3b48280e88ce9aba1;hp=6a3d0a22ed6f9e3286674f866bfc3c331c8f7c0d;hpb=164d1274fcb70c54897f2a03fc7c27152ed4821a;p=pspp-builds.git diff --git a/src/ui/gui/var-sheet.h b/src/ui/gui/var-sheet.h index 6a3d0a22..4bfd1097 100644 --- a/src/ui/gui/var-sheet.h +++ b/src/ui/gui/var-sheet.h @@ -1,10 +1,9 @@ -/* - PSPPIRE --- A Graphical User Interface for PSPP +/* PSPPIRE - a graphical user interface for PSPP. Copyright (C) 2004, 2005, 2006 Free Software Foundation - This program is free software; you can redistribute it and/or modify + This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or + the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -13,9 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - 02110-1301, USA. */ + along with this program. If not, see . */ #ifndef VAR_SHEET_H @@ -25,37 +22,37 @@ #include "psppire-dict.h" -enum {COL_NAME, - COL_TYPE, - COL_WIDTH, - COL_DECIMALS, - COL_LABEL, - COL_VALUES, - COL_MISSING, - COL_COLUMNS, - COL_ALIGN, - COL_MEASURE, +enum {COL_NAME, + COL_TYPE, + COL_WIDTH, + COL_DECIMALS, + COL_LABEL, + COL_VALUES, + COL_MISSING, + COL_COLUMNS, + COL_ALIGN, + COL_MEASURE, n_COLS}; -void var_sheet_range_set_editable(GtkSheet *sheet, - const GtkSheetRange *urange, +void var_sheet_range_set_editable (GtkSheet *sheet, + const GtkSheetRange *urange, gboolean editable); /* Create the var sheet */ -GtkWidget* psppire_variable_sheet_create (gchar *widget_name, - gchar *string1, +GtkWidget* psppire_variable_sheet_create (gchar *widget_name, + gchar *string1, gchar *string2, gint int1, gint int2); #define n_ALIGNMENTS 3 -extern const gchar *alignments[n_ALIGNMENTS + 1]; +extern const gchar *const alignments[n_ALIGNMENTS + 1]; #define n_MEASURES 3 -extern const gchar *measures[n_MEASURES + 1]; +extern const gchar *const measures[n_MEASURES + 1]; #endif