X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=gtk%2Fgtkbbox.c;h=8385e2dd2e659a7489f56b40c8b34e579e56ab35;hb=fa4878979e0a72890ca577a210ccd7cf6291dbf0;hp=e5659a827cf534ba8354b8132429c49fc59504d4;hpb=b8fe808e157dbe1fd12601114c391c67c03ed7a2;p=~andy%2Fgtk diff --git a/gtk/gtkbbox.c b/gtk/gtkbbox.c index e5659a827..8385e2dd2 100644 --- a/gtk/gtkbbox.c +++ b/gtk/gtkbbox.c @@ -12,9 +12,7 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. + * License along with this library. If not, see . */ /* @@ -26,12 +24,13 @@ /** * SECTION:gtkbbox - * @Short_description: Base class for GtkHButtonBox and GtkVButtonBox + * @Short_description: A container for arranging buttons * @Title: GtkButtonBox - * @See_also: #GtkVButtonBox, #GtkHButtonBox * - * The primary purpose of this class is to keep track of the various - * properties of #GtkHButtonBox and #GtkVButtonBox widgets. + * A button box should be used to provide a consistent layout of buttons + * throughout your application. The layout/spacing can be altered by the + * programmer, or if desired, by the user to alter the 'feel' of a + * program to a small degree. * * gtk_button_box_get_layout() and gtk_button_box_set_layout() retrieve and * alter the method used to spread the buttons in a button box across the @@ -41,10 +40,10 @@ * same size. GtkButtonBox gives all children the same size, but it does allow * 'outliers' to keep their own larger size. To force all children to be * strictly the same size without exceptions, you can set the - * #GtkButtonBox::homogeneous property to %TRUE. + * #GtkButtonBox:homogeneous property to %TRUE. * * To excempt individual children from homogeneous sizing regardless of their - * 'outlier' status, you can set the #GtkButtonBox::non-homogeneous child + * 'outlier' status, you can set the #GtkButtonBox:non-homogeneous child * property. */ @@ -52,6 +51,7 @@ #include "gtkbbox.h" +#include "gtkboxprivate.h" #include "gtkorientable.h" #include "gtktypebuiltins.h" #include "gtkprivate.h" @@ -391,7 +391,7 @@ gtk_button_box_get_child_secondary (GtkButtonBox *widget, } /** - * gtk_button_box_set_child_secondary + * gtk_button_box_set_child_secondary: * @widget: a #GtkButtonBox * @child: a child of @widget * @is_secondary: if %TRUE, the @child appears in a secondary group of the