From fb860a9527e2eed805222568fed50294cdc49e3b Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 31 Jan 2011 10:26:28 -0500 Subject: [PATCH] Add a note to ::fill and ::expand docs --- gtk/gtkbox.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gtk/gtkbox.c b/gtk/gtkbox.c index 6292ca854a..1ff75ebb33 100644 --- a/gtk/gtkbox.c +++ b/gtk/gtkbox.c @@ -261,6 +261,10 @@ gtk_box_class_init (GtkBoxClass *class) * Note that the default value for this property is %FALSE for GtkBox, * but #GtkHBox, #GtkVBox and other subclasses use the old default * of %TRUE. + * + * Note that the #GtkWidget:halign, #GtkWidget:valign, #GtkWidget:hexpand + * and #GtkWidget:vexpand properties are the preferred way to influence + * child size allocation in containers. */ gtk_container_class_install_child_property (container_class, CHILD_PROP_EXPAND, @@ -274,6 +278,10 @@ gtk_box_class_init (GtkBoxClass *class) * GtkBox:fill: * * Whether the child should receive extra space when the parent grows. + * + * Note that the #GtkWidget:halign, #GtkWidget:valign, #GtkWidget:hexpand + * and #GtkWidget:vexpand properties are the preferred way to influence + * child size allocation in containers. */ gtk_container_class_install_child_property (container_class, CHILD_PROP_FILL,