1 /* This version of GtkSheet has been heavily modified, for the specific
2 * requirements of PSPPIRE.
4 * GtkSheet widget for Gtk+.
5 * Copyright (C) 1999-2001 Adrian E. Feiguin <adrian@ifir.ifir.edu.ar>
7 * Based on GtkClist widget by Jay Painter, but major changes.
8 * Memory allocation routines inspired on SC (Spreadsheet Calculator)
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.
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.
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
26 #ifndef __GTK_EXTRA_SHEET_H__
27 #define __GTK_EXTRA_SHEET_H__
32 typedef struct _GtkSheet GtkSheet;
39 gboolean attached_to_cell;
52 typedef struct _GtkSheetChild GtkSheetChild;
56 struct _GtkSheetButton
61 gboolean label_visible;
64 GtkJustification justification;
67 typedef struct _GtkSheetButton GtkSheetButton;
71 GtkSheetButton * gtk_sheet_button_new(void);
73 inline void gtk_sheet_button_free(GtkSheetButton *button);
76 #endif /* __GTK_EXTRA_SHEET_H__ */