XfceHVBox

XfceHVBox — Container widget with configurable orienation.

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);

Object Hierarchy

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

Implemented Interfaces

XfceHVBox implements GtkBuildable, AtkImplementorIface 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.

Details

XfceHVBox

typedef struct _XfceHVBox XfceHVBox;

The XfceHVBox struct contains private data only, and should be accessed using 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