Created new directory src/ui/gui/sheet
[pspp-builds.git] / lib / gtksheet / gtkextra-sheet.h
1 /* This version of GtkSheet has been heavily modified, for the specific
2  *  requirements of PSPPIRE.
3  *
4  * GtkSheet widget for Gtk+.
5  * Copyright (C) 1999-2001 Adrian E. Feiguin <adrian@ifir.ifir.edu.ar>
6  *
7  * Based on GtkClist widget by Jay Painter, but major changes.
8  * Memory allocation routines inspired on SC (Spreadsheet Calculator)
9  *
10  * This library is free software; you can redistribute it and/or
11  * modify it under the terms of the GNU Lesser General Public
12  * License as published by the Free Software Foundation; either
13  * version 2.1 of the License, or (at your option) any later version.
14  *
15  * This library is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18  * Lesser General Public License for more details.
19  *
20  * You should have received a copy of the GNU Lesser General Public
21  * License along with this library; if not, write to the Free Software
22  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
23  */
24
25
26 #ifndef PSPPIRE_EXTRA_SHEET_H__
27 #define PSPPIRE_EXTRA_SHEET_H__
28
29
30 struct _PsppireSheet ;
31
32 typedef struct _PsppireSheet PsppireSheet;
33
34
35 struct _PsppireSheetButton
36 {
37   GtkStateType state;
38   gchar *label;
39
40   gboolean label_visible;
41
42   GtkJustification justification;
43 };
44
45 struct _PsppireSheetCell
46 {
47   gint row;
48   gint col;
49 };
50
51 typedef struct _PsppireSheetButton PsppireSheetButton;
52 typedef struct _PsppireSheetCell PsppireSheetCell;
53
54 PsppireSheetButton * psppire_sheet_button_new (void);
55
56 void psppire_sheet_button_free (PsppireSheetButton *button);
57
58
59 #endif /* PSPPIRE_EXTRA_SHEET_H__ */
60
61