X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fdata-sheet.h;h=b3652dc801fac5de8641c300ab9cf58b46adf615;hb=d32776c387defa54d9b853c3925211f17028b99e;hp=9189edddda78aec229603c6d42e4a97a086c7600;hpb=a19b858e0ac3c69e4a28c0ca6d8674427268a863;p=pspp diff --git a/src/ui/gui/data-sheet.h b/src/ui/gui/data-sheet.h index 9189edddda..b3652dc801 100644 --- a/src/ui/gui/data-sheet.h +++ b/src/ui/gui/data-sheet.h @@ -1,11 +1,9 @@ -/* - PSPPIRE --- A Graphical User Interface for PSPP +/* PSPPIRE - a graphical user interface for PSPP. Copyright (C) 2004 Free Software Foundation - Written by John Darrington - 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, @@ -14,40 +12,37 @@ 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 DATA_SHEET_H #define DATA_SHEET_H #include -#include "psppire-case-array.h" #include "psppire-dict.h" -void psppire_data_sheet_clear(GtkSheet *sheet); +void psppire_data_sheet_clear (GtkSheet *sheet); #if 0 -void psppire_data_sheet_set_dictionary(GtkSheet *sheet, PsppireDict *d); +void psppire_data_sheet_set_dictionary (GtkSheet *sheet, PsppireDict *d); #endif -GtkWidget* psppire_data_sheet_create (gchar *widget_name, - gchar *string1, - gchar *string2, +GtkWidget* psppire_data_sheet_create (gchar *widget_name, + gchar *string1, + gchar *string2, gint int1, gint int2); -void data_sheet_set_cell_value(GtkSheet *sheet, gint row, gint col, +void data_sheet_set_cell_value (GtkSheet *sheet, gint row, gint col, const GValue *value); -void psppire_data_sheet_set_show_labels(GtkSheet *sheet, gboolean show_labels); +void psppire_data_sheet_set_show_labels (GtkSheet *sheet, gboolean show_labels); /* Repair any damage that may have been done to the data sheet */ -void psppire_data_sheet_redisplay(GtkSheet *sheet); +void psppire_data_sheet_redisplay (GtkSheet *sheet); -guint columnWidthToPixels(GtkSheet *sheet, gint column, guint width); +guint columnWidthToPixels (GtkSheet *sheet, gint column, guint width); #endif