GtkHBox

GtkHBox — A horizontal container box

Synopsis

#include <gtk/gtk.h>

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

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkContainer
                           +----GtkBox
                                 +----GtkHBox
                                       +----GtkCombo
                                       +----GtkFileChooserButton
                                       +----GtkInfoBar
                                       +----GtkStatusbar

Implemented Interfaces

GtkHBox implements AtkImplementorIface, GtkBuildable and GtkOrientable.

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

GtkHBox

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