summaryrefslogtreecommitdiff
path: root/gtk/gtkcellareabox.h
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.van.berkom@gmail.com>2010-10-27 01:01:58 +0900
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2010-10-27 01:01:58 +0900
commit695e427522ed9f308d4f38cb366871ee8d39d3ce (patch)
tree20851a284b03668cff073b5ec47e162122ec88f3 /gtk/gtkcellareabox.h
parent11f8dfe3f40d8b0d40b95bff6ccfdcbfaccee469 (diff)
downloadgtk+-695e427522ed9f308d4f38cb366871ee8d39d3ce.tar.gz
Added most of the request code for GtkCellAreaBox
Added the following to GtkCellAreaBox: - GtkCellAreaBox:spacing property defines spacing between cells - GtkCellAreaBox:align-cells property defines whether cells should be aligned with cells in adjacent rows. - Implementations for get_preferred_width / get_preferred_height - Implementations for get_preferred_height_for_width and the other when the box is oriented in the easy way (i.e. height_for_width() implemented for a vertical box, no virtual allocations done yet).
Diffstat (limited to 'gtk/gtkcellareabox.h')
-rw-r--r--gtk/gtkcellareabox.h22
1 files changed, 14 insertions, 8 deletions
diff --git a/gtk/gtkcellareabox.h b/gtk/gtkcellareabox.h
index 1913995ce4..ee29ffe8a0 100644
--- a/gtk/gtkcellareabox.h
+++ b/gtk/gtkcellareabox.h
@@ -62,15 +62,21 @@ struct _GtkCellAreaBoxClass
void (*_gtk_reserved4) (void);
};
-GType gtk_cell_area_box_get_type (void) G_GNUC_CONST;
+GType gtk_cell_area_box_get_type (void) G_GNUC_CONST;
-GtkCellArea *gtk_cell_area_box_new (void);
-void gtk_cell_area_box_pack_start (GtkCellAreaBox *box,
- GtkCellRenderer *renderer,
- gboolean expand);
-void gtk_cell_area_box_pack_end (GtkCellAreaBox *box,
- GtkCellRenderer *renderer,
- gboolean expand);
+GtkCellArea *gtk_cell_area_box_new (void);
+void gtk_cell_area_box_pack_start (GtkCellAreaBox *box,
+ GtkCellRenderer *renderer,
+ gboolean expand);
+void gtk_cell_area_box_pack_end (GtkCellAreaBox *box,
+ GtkCellRenderer *renderer,
+ gboolean expand);
+gint gtk_cell_area_box_get_spacing (GtkCellAreaBox *box);
+void gtk_cell_area_box_set_spacing (GtkCellAreaBox *box,
+ gint spacing);
+gboolean gtk_cell_area_box_get_align_cells (GtkCellAreaBox *box);
+void gtk_cell_area_box_set_align_cells (GtkCellAreaBox *box,
+ gboolean align);
G_END_DECLS