1
2@c %start of fragment
3
4@node GtkButtonBox
5@chapter GtkButtonBox
6Base class for and
7
8@section Overview
9The primary purpose of this class is to keep track of the various properties of
10@code{<gtk-hbutton-box>} and @code{<gtk-vbutton-box>} widgets.
11
12@code{gtk-button-box-get-child-size} retrieves the minimum width and height for
13widgets in a given button box. @code{gtk-button-box-set-child-size} allows those
14properties to be changed.
15
16The internal padding of buttons can be retrieved and changed per button box
17using @code{gtk-button-box-get-child-ipadding} and
18@code{gtk-button-box-set-child-ipadding} respectively.
19
20@code{gtk-button-box-get-spacing} and @code{gtk-button-box-set-spacing} retrieve
21and change default number of pixels between buttons, respectively.
22
23@code{gtk-button-box-get-layout} and @code{gtk-button-box-set-layout} retrieve
24and alter the method used to spread the buttons in a button box across the
25container, respectively.
26
27The main purpose of GtkButtonBox is to make sure the children have all the same
28size. Therefore it ignores the homogeneous property which it inherited from
29GtkBox, and always behaves as if homogeneous was @samp{@code{#t}}.
30
31@section Usage
32@include defuns-gtkbbox.xml.texi
33
34@c %end of fragment
35