summaryrefslogtreecommitdiff
path: root/gtk/gtksizegroup.h
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.van.berkom@gmail.com>2010-04-14 18:07:27 -0400
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2010-04-14 18:07:27 -0400
commit8432f54c519c07df10e352dd4aecc454efd6bf20 (patch)
treed773ae34444e206b7125e8d265be1907ab1d8509 /gtk/gtksizegroup.h
parentd2c35ec62a595dc02542edae920b6a63dbb57446 (diff)
downloadgtk+-8432f54c519c07df10e352dd4aecc454efd6bf20.tar.gz
Added _gtk_size_group_bump_requisition()
Added a function to update sizegroups in multiple passes, this way the width and height can be updated in the sizegroups after querying the extended layout implementor for these. Implemented this in GtkExtendedLayout, sizegroups should be working reasonably now.
Diffstat (limited to 'gtk/gtksizegroup.h')
-rw-r--r--gtk/gtksizegroup.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/gtk/gtksizegroup.h b/gtk/gtksizegroup.h
index ecd2ceacf6..8addb5cd7a 100644
--- a/gtk/gtksizegroup.h
+++ b/gtk/gtksizegroup.h
@@ -100,11 +100,15 @@ void gtk_size_group_remove_widget (GtkSizeGroup *size_group,
GSList * gtk_size_group_get_widgets (GtkSizeGroup *size_group);
-void _gtk_size_group_get_child_requisition (GtkWidget *widget,
- GtkRequisition *requisition);
-void _gtk_size_group_compute_requisition (GtkWidget *widget,
- GtkRequisition *requisition);
-void _gtk_size_group_queue_resize (GtkWidget *widget);
+void _gtk_size_group_get_child_requisition (GtkWidget *widget,
+ GtkRequisition *requisition);
+void _gtk_size_group_compute_requisition (GtkWidget *widget,
+ GtkRequisition *requisition);
+void _gtk_size_group_bump_requisition (GtkWidget *widget,
+ GtkSizeGroupMode mode,
+ gint size);
+void _gtk_size_group_queue_resize (GtkWidget *widget);
+
G_END_DECLS