1 /* GtkSheet widget for Gtk+.
2 * Copyright (C) 2006 Free Software Foundation
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 #ifndef __G_SHEET_UNIFORM_COLUMN_H__
20 #define __G_SHEET_UNIFORM_COLUMN_H__
23 #include <glib-object.h>
29 #endif /* __cplusplus */
32 #define G_TYPE_SHEET_UNIFORM_COLUMN (g_sheet_uniform_column_get_type ())
34 #define G_SHEET_UNIFORM_COLUMN(obj) G_TYPE_CHECK_INSTANCE_CAST (obj, G_TYPE_SHEET_UNIFORM_COLUMN, GSheetUniformColumn )
35 #define G_SHEET_UNIFORM_COLUMN_CLASS(klass) G_TYPE_CHECK_CLASS_CAST (klass, g_sheet_uniform_column_get_type (), GSheetUniformColumnClass)
36 #define G_IS_SHEET_UNIFORM_COLUMN(obj) G_TYPE_CHECK_INSTANCE_TYPE (obj, G_TYPE_SHEET_UNIFORM_COLUMN)
39 struct _GSheetUniformColumn{
44 gboolean is_sensitive;
48 struct _GSheetUniformColumnClass
50 GObjectClass parent_class;
53 /* create a new column */
54 GObject * g_sheet_uniform_column_new (gint width, gint n_columns);
56 GType g_sheet_uniform_column_get_type (void);
59 typedef struct _GSheetUniformColumn GSheetUniformColumn;
60 typedef struct _GSheetUniformColumnClass GSheetUniformColumnClass;
64 #endif /* __cplusplus */
66 #endif /* __G_SHEET_UNIFORM_COLUMN_H__ */