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_ROW_H__
20 #define __G_SHEET_UNIFORM_ROW_H__
22 #include <glib-object.h>
28 #endif /* __cplusplus */
31 #define G_TYPE_SHEET_UNIFORM_ROW (g_sheet_uniform_row_get_type ())
33 #define G_SHEET_UNIFORM_ROW(obj) G_TYPE_CHECK_INSTANCE_CAST (obj, G_TYPE_SHEET_UNIFORM_ROW, GSheetUniformRow )
34 #define G_SHEET_UNIFORM_ROW_CLASS(klass) G_TYPE_CHECK_CLASS_CAST (klass, g_sheet_uniform_row_get_type (), GSheetUniformRowClass)
35 #define G_IS_SHEET_UNIFORM_ROW(obj) G_TYPE_CHECK_INSTANCE_TYPE (obj, G_TYPE_SHEET_UNIFORM_ROW)
38 struct _GSheetUniformRow{
46 struct _GSheetUniformRowClass
48 GObjectClass parent_class;
51 /* create a new row */
52 GObject * g_sheet_uniform_row_new (gint height, gint n_rows);
54 GType g_sheet_uniform_row_get_type (void);
57 typedef struct _GSheetUniformRow GSheetUniformRow;
58 typedef struct _GSheetUniformRowClass GSheetUniformRowClass;
62 #endif /* __cplusplus */
64 #endif /* __G_SHEET_UNIFORM_ROW_H__ */