Libxfce4panel Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces |
#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
);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBox +----XfceHVBox
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.
typedef struct _XfceHVBox XfceHVBox;
This struct contain private data only and should be accessed by the functions below.
GtkWidget * xfce_hvbox_new (GtkOrientation orientation
,gboolean homogeneous
,gint spacing
);
Creates a new XfceHVBox container widget.
void xfce_hvbox_set_orientation (XfceHVBox *hvbox
,GtkOrientation orientation
);
Set the new orientation of the XfceHVBox container widget.
GtkOrientation xfce_hvbox_get_orientation (XfceHVBox *hvbox
);
Get the current orientation of the hvbox
.