summaryrefslogtreecommitdiff
path: root/gtk/gtkcellview.h
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.van.berkom@gmail.com>2010-08-18 19:39:59 -0400
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2010-08-18 20:01:28 -0400
commit9c26bd525f4e470350a99d11cc51cac1196ae7ba (patch)
treecf551432601f189b0da661764464c16f26f4183c /gtk/gtkcellview.h
parent9f762fe86c3536b10d5243fc9708d73f31762ec8 (diff)
downloadgtk+-9c26bd525f4e470350a99d11cc51cac1196ae7ba.tar.gz
Added height-for-width management for GtkComboBox/GtkCellView
now GtkComboBox (and GtkCellView) request and allocate children/cells in a height-for-width manner.
Diffstat (limited to 'gtk/gtkcellview.h')
-rw-r--r--gtk/gtkcellview.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/gtk/gtkcellview.h b/gtk/gtkcellview.h
index a58f97e4c1..cb6b269f63 100644
--- a/gtk/gtkcellview.h
+++ b/gtk/gtkcellview.h
@@ -69,6 +69,18 @@ GtkTreePath *gtk_cell_view_get_displayed_row (GtkCellView *cell_v
gboolean gtk_cell_view_get_size_of_row (GtkCellView *cell_view,
GtkTreePath *path,
GtkRequisition *requisition);
+gboolean gtk_cell_view_get_size_of_row (GtkCellView *cell_view,
+ GtkTreePath *path,
+ GtkRequisition *requisition);
+void gtk_cell_view_get_desired_width_of_row(GtkCellView *cell_view,
+ GtkTreePath *path,
+ gint *minimum_size,
+ gint *natural_size);
+void gtk_cell_view_get_desired_height_for_width_of_row(GtkCellView *cell_view,
+ GtkTreePath *path,
+ gint avail_size,
+ gint *minimum_size,
+ gint *natural_size);
void gtk_cell_view_set_background_color (GtkCellView *cell_view,
const GdkColor *color);