3 * Copyright (C) 2010 Openismus GmbH
6 * Tristan Van Berkom <tristanvb@openismus.com>
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either
11 * version 2 of the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Library General Public License for more details.
18 * You should have received a copy of the GNU Library General Public
19 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
22 #ifndef __CELL_AREA_SCAFFOLD_H__
23 #define __CELL_AREA_SCAFFOLD_H__
30 #define TYPE_CELL_AREA_SCAFFOLD (cell_area_scaffold_get_type ())
31 #define CELL_AREA_SCAFFOLD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_CELL_AREA_SCAFFOLD, CellAreaScaffold))
32 #define CELL_AREA_SCAFFOLD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_CELL_AREA_SCAFFOLD, CellAreaScaffoldClass))
33 #define IS_CELL_AREA_SCAFFOLD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_CELL_AREA_SCAFFOLD))
34 #define IS_CELL_AREA_SCAFFOLD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_CELL_AREA_SCAFFOLD))
35 #define CELL_AREA_SCAFFOLD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_CELL_AREA_SCAFFOLD, CellAreaScaffoldClass))
38 typedef struct _CellAreaScaffold CellAreaScaffold;
39 typedef struct _CellAreaScaffoldClass CellAreaScaffoldClass;
40 typedef struct _CellAreaScaffoldPrivate CellAreaScaffoldPrivate;
42 struct _CellAreaScaffold
46 CellAreaScaffoldPrivate *priv;
49 struct _CellAreaScaffoldClass
51 GtkContainerClass parent_class;
53 void (* activate) (CellAreaScaffold *scaffold);
57 GType cell_area_scaffold_get_type (void) G_GNUC_CONST;
58 GtkWidget *cell_area_scaffold_new (void);
60 GtkCellArea *cell_area_scaffold_get_area (CellAreaScaffold *scaffold);
61 void cell_area_scaffold_set_model (CellAreaScaffold *scaffold,
63 GtkTreeModel *cell_area_scaffold_get_model (CellAreaScaffold *scaffold);
65 void cell_area_scaffold_set_row_spacing (CellAreaScaffold *scaffold,
67 gint cell_area_scaffold_get_row_spacing (CellAreaScaffold *scaffold);
69 void cell_area_scaffold_set_indentation (CellAreaScaffold *scaffold,
71 gint cell_area_scaffold_get_indentation (CellAreaScaffold *scaffold);
77 #endif /* __CELL_AREA_SCAFFOLD_H__ */