Synopsis
#include <gtk/gtk.h>
struct GtkButtonBox;
#define GTK_BUTTONBOX_DEFAULT
void gtk_button_box_get_child_size_default
(gint *min_width,
gint *min_height);
void gtk_button_box_get_child_ipadding_default
(gint *ipad_x,
gint *ipad_y);
void gtk_button_box_set_child_size_default
(gint min_width,
gint min_height);
void gtk_button_box_set_child_ipadding_default
(gint ipad_x,
gint ipad_y);
gint gtk_button_box_get_spacing (GtkButtonBox *widget);
GtkButtonBoxStyle gtk_button_box_get_layout (GtkButtonBox *widget);
void gtk_button_box_get_child_size (GtkButtonBox *widget,
gint *min_width,
gint *min_height);
void gtk_button_box_get_child_ipadding
(GtkButtonBox *widget,
gint *ipad_x,
gint *ipad_y);
void gtk_button_box_set_spacing (GtkButtonBox *widget,
gint spacing);
void gtk_button_box_set_layout (GtkButtonBox *widget,
GtkButtonBoxStyle layout_style);
void gtk_button_box_set_child_size (GtkButtonBox *widget,
gint min_width,
gint min_height);
void gtk_button_box_set_child_ipadding
(GtkButtonBox *widget,
gint ipad_x,
gint ipad_y);
void gtk_button_box_child_requisition
(GtkWidget *widget,
int *nvis_children,
int *width,
int *height);
|
Details
struct GtkButtonBox
This is a read-only struct; no members should be modified directly.
GTK_BUTTONBOX_DEFAULT
#define GTK_BUTTONBOX_DEFAULT -1 |
Used internally only.
gtk_button_box_get_child_size_default ()
void gtk_button_box_get_child_size_default
(gint *min_width,
gint *min_height); |
Retrieves the default minimum width and height for all button boxes, and
places the values in min_width and min_height, respectively.
gtk_button_box_get_child_ipadding_default ()
void gtk_button_box_get_child_ipadding_default
(gint *ipad_x,
gint *ipad_y); |
The internal padding of a button is the amount of space between the outside
of the button and the widget it contains. This function gets the default
amount of horizontal and vertical padding, placing the results in ipad_x
and ipad_y, respectively.
gtk_button_box_set_child_size_default ()
void gtk_button_box_set_child_size_default
(gint min_width,
gint min_height); |
Sets the default size of child buttons.
gtk_button_box_set_child_ipadding_default ()
void gtk_button_box_set_child_ipadding_default
(gint ipad_x,
gint ipad_y); |
Sets the default number of pixels that pad each button in every button box.
gtk_button_box_get_spacing ()
Retrieves how much space a button box is placing between each child button.
gtk_button_box_get_layout ()
Retrieves the method being used to arrange the buttons in a button box.
gtk_button_box_get_child_size ()
Retrieves the current width and height of all child widgets in a button box.
min_width and min_height are filled with those values, respectively.
gtk_button_box_get_child_ipadding ()
Gets the default number of pixels that pad the buttons in a given button box.
gtk_button_box_set_spacing ()
Sets the amount of spacing between buttons in a given button box.
gtk_button_box_set_layout ()
Changes the way buttons are arranged in their container.
gtk_button_box_set_child_size ()
Sets a new default size for the children of a given button box.
gtk_button_box_set_child_ipadding ()
Changes the amount of internal padding used by all buttons in a given button
box.
gtk_button_box_child_requisition ()
void gtk_button_box_child_requisition
(GtkWidget *widget,
int *nvis_children,
int *width,
int *height); |
This is an internally used function and should never be called from an
application.