<< Back to man.ChinaUnix.net

<< Back to man.ChinaUnix.net

GtkVBox

GtkVBox — A vertical container box

Synopsis


#include <gtk/gtk.h>


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


Object Hierarchy


  GObject
   +----GtkObject
         +----GtkWidget
               +----GtkContainer
                     +----GtkBox
                           +----GtkVBox
                                 +----GtkColorSelection
                                 +----GtkFileChooserWidget
                                 +----GtkFontSelection
                                 +----GtkGammaCurve

Implemented Interfaces

GtkVBox implements AtkImplementorIface.

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

GtkVBox

typedef struct _GtkVBox 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.