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, write to the
20 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21 * Boston, MA 02111-1307, USA.
24 #ifndef __CELL_AREA_SCAFFOLD_H__
25 #define __CELL_AREA_SCAFFOLD_H__
32 #define TYPE_CELL_AREA_SCAFFOLD (cell_area_scaffold_get_type ())
33 #define CELL_AREA_SCAFFOLD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_CELL_AREA_SCAFFOLD, CellAreaScaffold))
34 #define CELL_AREA_SCAFFOLD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_CELL_AREA_SCAFFOLD, CellAreaScaffoldClass))
35 #define IS_CELL_AREA_SCAFFOLD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_CELL_AREA_SCAFFOLD))
36 #define IS_CELL_AREA_SCAFFOLD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_CELL_AREA_SCAFFOLD))
37 #define CELL_AREA_SCAFFOLD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_CELL_AREA_SCAFFOLD, CellAreaScaffoldClass))
40 typedef struct _CellAreaScaffold CellAreaScaffold;
41 typedef struct _CellAreaScaffoldClass CellAreaScaffoldClass;
42 typedef struct _CellAreaScaffoldPrivate CellAreaScaffoldPrivate;
44 struct _CellAreaScaffold
48 CellAreaScaffoldPrivate *priv;
51 struct _CellAreaScaffoldClass
53 GtkContainerClass parent_class;
55 void (* activate) (CellAreaScaffold *scaffold);
59 GType cell_area_scaffold_get_type (void) G_GNUC_CONST;
60 GtkWidget *cell_area_scaffold_new (void);
62 GtkCellArea *cell_area_scaffold_get_area (CellAreaScaffold *scaffold);
63 void cell_area_scaffold_set_model (CellAreaScaffold *scaffold,
65 GtkTreeModel *cell_area_scaffold_get_model (CellAreaScaffold *scaffold);
67 void cell_area_scaffold_set_row_spacing (CellAreaScaffold *scaffold,
69 gint cell_area_scaffold_get_row_spacing (CellAreaScaffold *scaffold);
71 void cell_area_scaffold_set_indentation (CellAreaScaffold *scaffold,
73 gint cell_area_scaffold_get_indentation (CellAreaScaffold *scaffold);
79 #endif /* __CELL_AREA_SCAFFOLD_H__ */