1 <!-- ##### SECTION Title ##### -->
4 <!-- ##### SECTION Short_Description ##### -->
5 Base class for #GtkHButtonBox and #GtkVButtonBox
7 <!-- ##### SECTION Long_Description ##### -->
9 The primary purpose of this class is to keep track of the various properties
\r
10 of #GtkHButtonBox and #GtkVButtonBox widgets.
\r
13 gtk_button_box_get_child_size_default() retrieves the default minimum width and height
\r
14 for widgets in any button box. gtk_button_box_set_child_size_default()
\r
15 changes the default minimum child widget size.
\r
18 gtk_button_box_get_child_size() retrieves the minimum width and height
\r
19 for widgets in a given button box. gtk_button_box_set_child_size()
\r
20 allows those properties to be changed.
\r
23 gtk_button_box_get_child_ipadding_default() gets the default number of pixels of
\r
24 horizontal and vertical padding that are applied to each button in every button box.
\r
25 gtk_button_box_set_child_ipadding_default() allows these defaults to be
\r
29 The internal padding of buttons can be retrieved and changed per button box using
\r
30 gtk_button_box_get_child_ipadding() and gtk_button_box_set_child_ipadding()
\r
34 gtk_button_box_get_spacing() and gtk_button_box_set_spacing() retrieve and
\r
35 change default number of pixels between buttons, respectively.
\r
38 gtk_button_box_get_layout() and gtk_button_box_set_layout() retrieve and alter the method
\r
39 used to spread the buttons in a button box across the container, respectively.
\r
46 <!-- ##### SECTION See_Also ##### -->
50 <term>#GtkVButtonBox</term>
\r
51 <listitem><para>Vertical sub-class of #GtkButtonBox.</para></listitem>
\r
54 <term>#GtkHButtonBox</term>
\r
55 <listitem><para>Horizontal sub-class of #GtkButtonBox.</para></listitem>
\r
60 <!-- ##### STRUCT GtkButtonBox ##### -->
62 This is a read-only struct; no members should be modified directly.
\r
66 <!-- ##### MACRO GTK_BUTTONBOX_DEFAULT ##### -->
68 Used internally only.
\r
73 <!-- ##### MACRO gtk_button_box_get_spacing ##### -->
75 Retrieves how much space a button box is placing between each child button.
\r
78 @Returns: the current spacing applied to the buttons in @widget.
79 <!-- # Unused Parameters # -->
80 @widget: a #GtkButtonBox.
83 <!-- ##### FUNCTION gtk_button_box_get_layout ##### -->
85 Retrieves the method being used to arrange the buttons in a button box.
\r
88 @widget: a #GtkButtonBox.
89 @Returns: the method used to layout buttons in @widget.
92 <!-- ##### FUNCTION gtk_button_box_get_child_size ##### -->
94 Retrieves the current width and height of all child widgets in a button box.
\r
95 @min_width and @min_height are filled with those values, respectively.
\r
98 @widget: a #GtkButtonBox.
99 @min_width: the width of the buttons contained by @widget.
100 @min_height: the height of the buttons contained by @widget.
103 <!-- ##### FUNCTION gtk_button_box_get_child_ipadding ##### -->
105 Gets the default number of pixels that pad the buttons in a given button box.
\r
108 @widget: a #GtkButtonBox.
109 @ipad_x: the horizontal padding used by buttons in @widget.
110 @ipad_y: the vertical padding used by buttons in @widget.
113 <!-- ##### MACRO gtk_button_box_set_spacing ##### -->
115 Sets the amount of spacing between buttons in a given button box.
\r
118 <!-- # Unused Parameters # -->
119 @widget: a #GtkButtonBox.
120 @spacing: the number of pixels of spacing.
123 <!-- ##### FUNCTION gtk_button_box_set_layout ##### -->
125 Changes the way buttons are arranged in their container.
\r
128 @widget: a #GtkButtonBox.
129 @layout_style: the new layout style.
132 <!-- ##### FUNCTION gtk_button_box_set_child_size ##### -->
134 Sets a new default size for the children of a given button box.
\r
137 @widget: a #GtkButtonBox.
138 @min_width: a default width for buttons in @widget.
139 @min_height: a default height for buttons in @widget.
142 <!-- ##### FUNCTION gtk_button_box_set_child_ipadding ##### -->
144 Changes the amount of internal padding used by all buttons in a given button
\r
148 @widget: a #GtkButtonBox.
149 @ipad_x: the horizontal padding that should be used by each button in @widget.
150 @ipad_y: the vertical padding that should be used by each button in @widget.