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

# GtkVBox

## Name

GtkVBox -- vertical container box

## Synopsis

    #include <gtk/gtk.h>

    struct      GtkVBox;
    GtkWidget*  gtk_vbox_new                    (gboolean homogeneous,
                                                 gint spacing);

## Object Hierarchy

      GObject
       +----GtkObject
             +----GtkWidget
                   +----GtkContainer
                         +----GtkBox
                               +----GtkVBox

## Description

GtkVBox is a container that organizes child widgets into a single column.

Use the GtkBox packing interface to determine the arrangement, spacing, height, and alignment of GtkVBox children.

All children are allocated the same width.

## Details

### struct GtkVBox

    struct GtkVBox;

### gtk_vbox_new ()

    GtkWidget*  gtk_vbox_new                    (gboolean homogeneous,
                                                 gint spacing);

Creates a new GtkVBox.

`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 GtkVBox.

## See Also

GtkHBox

  a sister class that organizes widgets into a row.

<<< Previous Page | Home | Up | Next Page >>>
GtkHBox | GtkHButtonBox