XfceHVBox

## XfceHVBox XfceHVBox — Container widget with configurable orientation |

## Synopsis

    #include <libxfce4panel/libxfce4panel.h>

                        XfceHVBox;
    GtkWidget *         xfce_hvbox_new                      (GtkOrientation orientation,
                                                             gboolean homogeneous,
                                                             gint spacing);
    void                xfce_hvbox_set_orientation          (XfceHVBox *hvbox,
                                                             GtkOrientation orientation);
    GtkOrientation      xfce_hvbox_get_orientation          (XfceHVBox *hvbox);

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GtkObject
                   +----GtkWidget
                         +----GtkContainer
                               +----GtkBox
                                     +----XfceHVBox

## Implemented Interfaces

XfceHVBox implements AtkImplementorIface, GtkBuildable and GtkOrientable.

## Description

XfceHVBox is a GtkBox widget that allows the user to change its orientation. It is in fact a combination of GtkHBox and GtkVBox.

If your code depends on Gtk+ 2.16 or later, if it better to use the normal GtkBox widgets in combination with `gtk_orientable_set_orientation()`.

See also: GtkOrientable and GtkBox.

## Details

### XfceHVBox

    typedef struct _XfceHVBox XfceHVBox;

This struct contain private data only and should be accessed by the functions below.

### xfce_hvbox_new ()

    GtkWidget *         xfce_hvbox_new                      (GtkOrientation orientation,
                                                             gboolean homogeneous,
                                                             gint spacing);

Creates a new XfceHVBox container widget.

`orientation` : | Orientation of the XfceHVBox
`homogeneous` : | whether all children should be allocated the same size
`spacing` : | spacing between XfceHVBox children
Returns : | the newly allocated XfceHVBox container widget.

### xfce_hvbox_set_orientation ()

    void                xfce_hvbox_set_orientation          (XfceHVBox *hvbox,
                                                             GtkOrientation orientation);

Set the new orientation of the XfceHVBox container widget.

`hvbox` : | XfceHVBox
`orientation` : | the new orientation of the XfceHVBox

### xfce_hvbox_get_orientation ()

    GtkOrientation      xfce_hvbox_get_orientation          (XfceHVBox *hvbox);

Get the current orientation of the `hvbox`.

`hvbox` : | XfceHVBox
Returns : | the current orientation of the XfceHVBox.