GTK+ Reference Manual
<<< Previous Page | Home | Up | Next Page >>>

# GtkHBox

## Name

GtkHBox -- horizontal container box

## Synopsis

    #include <gtk/gtk.h>

    struct      GtkHBox;
    GtkWidget*  gtk_hbox_new                    (gboolean homogeneous,
                                                 gint spacing);

## Object Hierarchy

      GObject
       +----GtkObject
             +----GtkWidget
                   +----GtkContainer
                         +----GtkBox
                               +----GtkHBox

## Description

GtkHBox is a container that organizes child widgets into a single row.

Use the GtkBox packing interface to determine the arrangement, spacing, width, and alignment of GtkHBox children.

All children are allocated the same height.

## Details

### struct GtkHBox

    struct GtkHBox;

### gtk_hbox_new ()

    GtkWidget*  gtk_hbox_new                    (gboolean homogeneous,
                                                 gint spacing);

Creates a new GtkHBox.

`homogeneous` : | `TRUE` if all children are to be given equal space allotments.
`spacing` : | the number of pixels to place by default between children.
Returns : | a new GtkHBox.

## See Also

GtkVBox

  a sister class that organizes widgets into a column.

<<< Previous Page | Home | Up | Next Page >>>
GtkAspectFrame | GtkVBox