Created new directory src/ui/gui/sheet
[pspp-builds.git] / lib / gtksheet / gtkextra-sheet.h
index bfc714ca340fe0f74c61095840b385838e523b06..16d6b5b470e396a710f83647039c6dc79e2e2660 100644 (file)
@@ -1,5 +1,5 @@
-/* This version of GtkSheet has been heavily modified, for the specific 
- *  requirements of PSPPIRE. 
+/* This version of GtkSheet has been heavily modified, for the specific
+ *  requirements of PSPPIRE.
  *
  * GtkSheet widget for Gtk+.
  * Copyright (C) 1999-2001 Adrian E. Feiguin <adrian@ifir.ifir.edu.ar>
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  * Lesser General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Lesser General Public
  * License along with this library; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
 
-#ifndef __GTK_EXTRA_SHEET_H__
-#define __GTK_EXTRA_SHEET_H__
+#ifndef PSPPIRE_EXTRA_SHEET_H__
+#define PSPPIRE_EXTRA_SHEET_H__
 
 
-struct _GtkSheet ;
+struct _PsppireSheet ;
 
-typedef struct _GtkSheet GtkSheet;
+typedef struct _PsppireSheet PsppireSheet;
 
 
-struct _GtkSheetChild
-{
-  GtkWidget *widget;
-  gint x,y ;
-  gboolean attached_to_cell;
-  gboolean floating;
-  gint row, col;
-  guint16 xpadding;
-  guint16 ypadding;
-  gboolean xexpand;
-  gboolean yexpand;
-  gboolean xshrink;
-  gboolean yshrink;
-  gboolean xfill;
-  gboolean yfill;
-};
-
-typedef struct _GtkSheetChild GtkSheetChild;
-
-
-
-struct _GtkSheetButton
+struct _PsppireSheetButton
 {
   GtkStateType state;
   gchar *label;
 
   gboolean label_visible;
-  GtkSheetChild *child;
 
   GtkJustification justification;
 };
 
-typedef struct _GtkSheetButton GtkSheetButton;
+struct _PsppireSheetCell
+{
+  gint row;
+  gint col;
+};
 
+typedef struct _PsppireSheetButton PsppireSheetButton;
+typedef struct _PsppireSheetCell PsppireSheetCell;
 
+PsppireSheetButton * psppire_sheet_button_new (void);
 
+void psppire_sheet_button_free (PsppireSheetButton *button);
 
 
-#endif /* __GTK_EXTRA_SHEET_H__ */
+#endif /* PSPPIRE_EXTRA_SHEET_H__ */