Added new files resulting from directory restructuring.
[pspp-builds.git] / lib / gtksheet / gsheet-uniform-column.h
diff --git a/lib/gtksheet/gsheet-uniform-column.h b/lib/gtksheet/gsheet-uniform-column.h
new file mode 100644 (file)
index 0000000..b6c8102
--- /dev/null
@@ -0,0 +1,68 @@
+/* GtkSheet widget for Gtk+.
+ * Copyright (C) 2006 Free Software Foundation
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * 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  __G_SHEET_UNIFORM_COLUMN_H__
+#define  __G_SHEET_UNIFORM_COLUMN_H__
+
+
+#include <glib-object.h>
+#include <glib.h>
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
+
+#define G_TYPE_SHEET_UNIFORM_COLUMN (g_sheet_uniform_column_get_type ())
+
+#define G_SHEET_UNIFORM_COLUMN(obj)    G_TYPE_CHECK_INSTANCE_CAST (obj, G_TYPE_SHEET_UNIFORM_COLUMN, GSheetUniformColumn )
+#define G_SHEET_UNIFORM_COLUMN_CLASS(klass)  G_TYPE_CHECK_CLASS_CAST (klass, g_sheet_uniform_column_get_type (), GSheetUniformColumnClass)
+#define G_IS_SHEET_UNIFORM_COLUMN(obj)  G_TYPE_CHECK_INSTANCE_TYPE (obj, G_TYPE_SHEET_UNIFORM_COLUMN)
+
+
+  struct _GSheetUniformColumn{
+    GObject parent;
+
+    gint n_columns;
+    gint width;
+    gboolean is_sensitive;
+    gboolean is_visible;
+  };
+
+  struct _GSheetUniformColumnClass
+  {
+    GObjectClass parent_class;
+  };
+  
+  /* create a new column */
+  GObject * g_sheet_uniform_column_new (gint width, gint n_columns);
+
+  GType g_sheet_uniform_column_get_type (void);
+
+
+  typedef struct _GSheetUniformColumn GSheetUniformColumn;
+  typedef struct _GSheetUniformColumnClass GSheetUniformColumnClass;
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
+#endif /* __G_SHEET_UNIFORM_COLUMN_H__ */
+
+