1 /* gtkcellareaboxiter.h
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 #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
25 #error "Only <gtk/gtk.h> can be included directly."
28 #ifndef __GTK_CELL_AREA_BOX_ITER_H__
29 #define __GTK_CELL_AREA_BOX_ITER_H__
31 #include <gtk/gtkcellareaiter.h>
32 #include <gtk/gtkcellrenderer.h>
33 #include <gtk/gtksizerequest.h>
37 #define GTK_TYPE_CELL_AREA_BOX_ITER (gtk_cell_area_box_iter_get_type ())
38 #define GTK_CELL_AREA_BOX_ITER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_AREA_BOX_ITER, GtkCellAreaBoxIter))
39 #define GTK_CELL_AREA_BOX_ITER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CELL_AREA_BOX_ITER, GtkCellAreaBoxIterClass))
40 #define GTK_IS_CELL_AREA_BOX_ITER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_AREA_BOX_ITER))
41 #define GTK_IS_CELL_AREA_BOX_ITER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CELL_AREA_BOX_ITER))
42 #define GTK_CELL_AREA_BOX_ITER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CELL_AREA_BOX_ITER, GtkCellAreaBoxIterClass))
44 typedef struct _GtkCellAreaBoxIter GtkCellAreaBoxIter;
45 typedef struct _GtkCellAreaBoxIterClass GtkCellAreaBoxIterClass;
46 typedef struct _GtkCellAreaBoxIterPrivate GtkCellAreaBoxIterPrivate;
48 struct _GtkCellAreaBoxIter
50 GtkCellAreaIter parent_instance;
52 GtkCellAreaBoxIterPrivate *priv;
55 struct _GtkCellAreaBoxIterClass
57 GtkCellAreaIterClass parent_class;
61 GType gtk_cell_area_box_iter_get_type (void) G_GNUC_CONST;
64 /* Update cell-group sizes */
65 void gtk_cell_area_box_iter_push_group_width (GtkCellAreaBoxIter *box_iter,
70 void gtk_cell_area_box_iter_push_group_height_for_width (GtkCellAreaBoxIter *box_iter,
76 void gtk_cell_area_box_iter_push_group_height (GtkCellAreaBoxIter *box_iter,
81 void gtk_cell_area_box_iter_push_group_width_for_height (GtkCellAreaBoxIter *box_iter,
87 /* Fetch cell-group sizes */
88 void gtk_cell_area_box_iter_get_group_width (GtkCellAreaBoxIter *box_iter,
93 void gtk_cell_area_box_iter_get_group_height_for_width (GtkCellAreaBoxIter *box_iter,
97 gint *natural_height);
99 void gtk_cell_area_box_iter_get_group_height (GtkCellAreaBoxIter *box_iter,
101 gint *minimum_height,
102 gint *natural_height);
104 void gtk_cell_area_box_iter_get_group_width_for_height (GtkCellAreaBoxIter *box_iter,
108 gint *natural_width);
110 GtkRequestedSize *gtk_cell_area_box_iter_get_widths (GtkCellAreaBoxIter *box_iter,
112 GtkRequestedSize *gtk_cell_area_box_iter_get_heights (GtkCellAreaBoxIter *box_iter,
117 #endif /* __GTK_CELL_AREA_BOX_ITER_H__ */