Package: gtk

Class gtk-button-box

Superclasses

gtk-box, gtk-container, gtk-widget, g-initially-unowned, gtk-buildable, gtk-orientable, g-object, common-lisp:standard-object, common-lisp:t

Documented Subclasses

Direct Slots

layout-style
The "layout-style" property of type gtk-button-box-style (Read / Write)
How to lay out the buttons in the box. Possible values are: spread, edge, start and end.
Default value: :edge

Details

A 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.

The generic function gtk-button-box-layout-style retrieve and alter the method used to spread the buttons in a button box across the container.

The main purpose of gtk-button-box is to make sure the children have all the same size. gtk-button-box gives all children the same size, but it does allow 'outliers' to keep their own larger size.

To excempt individual children from homogeneous sizing regardless of their 'outlier' status, you can set the "non-homogeneous" child property.

CSS nodes

gtk-button-box uses a single CSS node with name buttonbox.

Style Property Details

The "child-internal-pad-x" style property
"child-internal-pad-x" of type :int (Read)
Amount to increase child's size on either side.
Warning: child-internal-pad-x has been deprecated since version 3.20 and should not be used in newly-written code. Use CSS padding instead.
Allowed values: >= 0
Default value: 4

The "child-internal-pad-y" style property
"child-internal-pad-y" of type :int (Read)
Amount to increase child's size on the top and bottom.
Warning: child-internal-pad-y has been deprecated since version 3.20 and should not be used in newly-written code. Use CSS padding instead.
Allowed values: >= 0
Default value: 0

The "child-min-height" style property
"child-min-height" of type :int (Read)
Minimum height of buttons inside the box.
Warning: child-min-height has been deprecated since version 3.20 and should not be used in newly-written code. Use CSS padding instead.
Allowed values: >= 0
Default value: 27

The "child-min-width" style property
"child-min-width" of type :int (Read)
Minimum width of buttons inside the box.
Warning: child-min-width has been deprecated since version 3.20 and should not be used in newly-written code. Use CSS padding instead.
Allowed values: >= 0
Default value: 85
 

Slot Access Functions

Inherited Slot Access Functions

2013-5-18