diff options
author | Matthias Clasen <mclasen@redhat.com> | 2010-10-15 10:58:35 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2010-10-15 10:58:35 -0400 |
commit | 56e797397be074f73a41c8cc9801146e18b4e117 (patch) | |
tree | ef607e8585d5624e60acbe7ee1aef327ea68cb2e /gtk/gtkbox.c | |
parent | 17ffcb0cc685e427065c04ac2eea6a854b33eaab (diff) | |
download | gtk+-56e797397be074f73a41c8cc9801146e18b4e117.tar.gz |
Improve GtkBox and GtkTable docs a bit
This adds some details gleaned from the tutorial, before its
impending demise.
Diffstat (limited to 'gtk/gtkbox.c')
-rw-r--r-- | gtk/gtkbox.c | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/gtk/gtkbox.c b/gtk/gtkbox.c index ae00779ac6..a083af18c6 100644 --- a/gtk/gtkbox.c +++ b/gtk/gtkbox.c @@ -63,7 +63,10 @@ * of the GtkBox are forced to get the same amount of space. * * Use gtk_box_set_spacing() to determine how much space will be - * minimally placed between all children in the GtkBox. + * minimally placed between all children in the GtkBox. Note that + * spacing is added <emphasis>between</emphasis> the children, while + * padding added by gtk_box_pack_start() or gtk_box_pack_end() is added + * <emphasis>on either side</emphasis> of the widget it belongs to. * * Use gtk_box_reorder_child() to move a GtkBox child to a different * place in the box. @@ -1256,22 +1259,22 @@ gtk_box_new (GtkOrientation orientation, * gtk_box_pack_start: * @box: a #GtkBox * @child: the #GtkWidget to be added to @box - * @expand: %TRUE if the new child is to be given extra space allocated to - * @box. The extra space will be divided evenly between all children of - * @box that use this option + * @expand: %TRUE if the new child is to be given extra space allocated + * to @box. The extra space will be divided evenly between all children + * that use this option * @fill: %TRUE if space given to @child by the @expand option is - * actually allocated to @child, rather than just padding it. This - * parameter has no effect if @expand is set to %FALSE. A child is - * always allocated the full height of a #GtkHBox and the full width - * of a #GtkVBox. This option affects the other dimension + * actually allocated to @child, rather than just padding it. This + * parameter has no effect if @expand is set to %FALSE. A child is + * always allocated the full height of a #GtkHBox and the full width + * of a #GtkVBox. This option affects the other dimension * @padding: extra space in pixels to put between this child and its * neighbors, over and above the global amount specified by - * #GtkBox:spacing property. If @child is a widget at one of the - * reference ends of @box, then @padding pixels are also put between + * #GtkBox:spacing property. If @child is a widget at one of the + * reference ends of @box, then @padding pixels are also put between * @child and the reference edge of @box * * Adds @child to @box, packed with reference to the start of @box. - * The @child is packed after any other child packed with reference + * The @child is packed after any other child packed with reference * to the start of @box. */ void |