Synopsis#include <gtk/gtk.h> GtkHButtonBox; GtkWidget* gtk_hbutton_box_new (void); gint gtk_hbutton_box_get_spacing_default (void); GtkButtonBoxStyle gtk_hbutton_box_get_layout_default (void); void gtk_hbutton_box_set_spacing_default (gint spacing); void gtk_hbutton_box_set_layout_default (GtkButtonBoxStyle layout); Object HierarchyGObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBox +----GtkButtonBox +----GtkHButtonBox DescriptionA button box should be used to provide a consistent layout of buttons throughout your application. The layout/spacing can be altered by the programmer, or if desired, by the user to alter the 'feel' of a program to a small degree.
A GtkHButtonBox is created with
The spacing between buttons can be set with DetailsGtkHButtonBoxtypedef struct _GtkHButtonBox GtkHButtonBox; GtkHButtonBox does not contain any public fields. gtk_hbutton_box_new ()GtkWidget* gtk_hbutton_box_new (void); Creates a new horizontal button box.
gtk_hbutton_box_get_spacing_default ()gint gtk_hbutton_box_get_spacing_default (void); Warning
Retrieves the current default spacing for horizontal button boxes. This is the number of pixels to be placed between the buttons when they are arranged.
gtk_hbutton_box_get_layout_default ()GtkButtonBoxStyle gtk_hbutton_box_get_layout_default (void); Warning
Retrieves the current layout used to arrange buttons in button box widgets.
gtk_hbutton_box_set_spacing_default ()void gtk_hbutton_box_set_spacing_default (gint spacing); Warning
Changes the default spacing that is placed between widgets in an horizontal button box.
gtk_hbutton_box_set_layout_default ()void gtk_hbutton_box_set_layout_default (GtkButtonBoxStyle layout); Warning
Sets a new layout mode that will be used by all button boxes.
|