Add a note to ::fill and ::expand docs

This commit is contained in:
Matthias Clasen 2011-01-31 10:26:28 -05:00
parent a26ffdc740
commit fb860a9527

View File

@ -261,6 +261,10 @@ gtk_box_class_init (GtkBoxClass *class)
* Note that the default value for this property is %FALSE for GtkBox, * Note that the default value for this property is %FALSE for GtkBox,
* but #GtkHBox, #GtkVBox and other subclasses use the old default * but #GtkHBox, #GtkVBox and other subclasses use the old default
* of %TRUE. * 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, gtk_container_class_install_child_property (container_class,
CHILD_PROP_EXPAND, CHILD_PROP_EXPAND,
@ -274,6 +278,10 @@ gtk_box_class_init (GtkBoxClass *class)
* GtkBox:fill: * GtkBox:fill:
* *
* Whether the child should receive extra space when the parent grows. * 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, gtk_container_class_install_child_property (container_class,
CHILD_PROP_FILL, CHILD_PROP_FILL,